Index: pkg/barback/lib/src/transform_node.dart |
diff --git a/pkg/barback/lib/src/transform_node.dart b/pkg/barback/lib/src/transform_node.dart |
index e31d5e8f350d5ec04f298fd33d9d5658ce8cf8e5..e3d9067dd7d473c4aeb53c435e2699dc8adfe2c1 100644 |
--- a/pkg/barback/lib/src/transform_node.dart |
+++ b/pkg/barback/lib/src/transform_node.dart |
@@ -191,7 +191,7 @@ class TransformNode { |
_state = _TransformNodeState.PROCESSING; |
primary.whenAvailable((_) { |
_state = _TransformNodeState.PROCESSING; |
- return transformer.isPrimary(primary.asset); |
+ return transformer.isPrimary(primary.asset.id); |
}).catchError((error, stackTrace) { |
// If the transform became dirty while processing, ignore any errors from |
// it. |