Index: third_party/pkg/barback-0.13.0/test/transformer/rewrite.dart |
diff --git a/pkg/barback/test/transformer/rewrite.dart b/third_party/pkg/barback-0.13.0/test/transformer/rewrite.dart |
similarity index 93% |
copy from pkg/barback/test/transformer/rewrite.dart |
copy to third_party/pkg/barback-0.13.0/test/transformer/rewrite.dart |
index d25a552a29f8e55cd46983fd1df91f255fca2db3..995c94fff0c92cd474df4e4aa1cc3a71370de048 100644 |
--- a/pkg/barback/test/transformer/rewrite.dart |
+++ b/third_party/pkg/barback-0.13.0/test/transformer/rewrite.dart |
@@ -25,7 +25,8 @@ class RewriteTransformer extends MockTransformer { |
/// created for each input. |
RewriteTransformer(this.from, this.to); |
- bool doIsPrimary(AssetId id) => id.extension == ".$from"; |
+ Future<bool> doIsPrimary(AssetId id) => |
+ new Future.value(id.extension == ".$from"); |
Future doApply(Transform transform) { |
return getPrimary(transform).then((input) { |