Index: sdk/lib/_internal/pub/lib/src/barback/transformer_id.dart |
diff --git a/sdk/lib/_internal/pub/lib/src/barback/transformer_id.dart b/sdk/lib/_internal/pub/lib/src/barback/transformer_id.dart |
index faadc6b9b48ca8b9eb08c83684f4f6a539e96d65..4d0fe9004fc25290384e694c66ff356c342bf0ab 100644 |
--- a/sdk/lib/_internal/pub/lib/src/barback/transformer_id.dart |
+++ b/sdk/lib/_internal/pub/lib/src/barback/transformer_id.dart |
@@ -94,16 +94,4 @@ class TransformerId { |
.catchError((e) => new AssetId(package, 'lib/$package.dart'), |
test: (e) => e is AssetNotFoundException); |
} |
- |
- /// Returns the path to the library identified by this transformer within |
- /// [packageDir], which should be the directory of [package]. |
- /// |
- /// If `path` is null, this will determine which library to load. |
- String getFullPath(String packageDir) { |
- if (path != null) return p.join(packageDir, 'lib', p.fromUri('$path.dart')); |
- |
- var transformerPath = p.join(packageDir, 'lib', 'transformer.dart'); |
- if (fileExists(transformerPath)) return transformerPath; |
- return p.join(packageDir, 'lib', '$package.dart'); |
- } |
} |