Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(111)

Unified Diff: sdk/lib/_internal/pub/lib/src/validator/executable.dart

Issue 583853002: Use precompiled dependencies in pub. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Code review changes Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: sdk/lib/_internal/pub/lib/src/validator/executable.dart
diff --git a/sdk/lib/_internal/pub/lib/src/validator/executable.dart b/sdk/lib/_internal/pub/lib/src/validator/executable.dart
index 8bf404924e45a370e10f1fb03fb1be393bd54c03..939b443470e8180dd1474c85853537d5359edb0a 100644
--- a/sdk/lib/_internal/pub/lib/src/validator/executable.dart
+++ b/sdk/lib/_internal/pub/lib/src/validator/executable.dart
@@ -21,7 +21,7 @@ class ExecutableValidator extends Validator {
// TODO(rnystrom): This can print false positives since a script may be
// produced by a transformer. Do something better.
var binFiles = entrypoint.root.listFiles(beneath: "bin", recursive: false)
- .map((path) => p.relative(path, from: entrypoint.root.dir))
+ .map((path) => entrypoint.root.relative(path))
.toList();
entrypoint.root.pubspec.executables.forEach((executable, script) {
« no previous file with comments | « sdk/lib/_internal/pub/lib/src/package_graph.dart ('k') | sdk/lib/_internal/pub/lib/src/validator/license.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698