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

Unified Diff: sdk/lib/_internal/pub_generated/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_generated/lib/src/validator/executable.dart
diff --git a/sdk/lib/_internal/pub_generated/lib/src/validator/executable.dart b/sdk/lib/_internal/pub_generated/lib/src/validator/executable.dart
index a7ae9b0dd511d20c6beaae85f4c67b0cc58201eb..20349ec429ff1f775b17a2dca55f6beee9ae48b9 100644
--- a/sdk/lib/_internal/pub_generated/lib/src/validator/executable.dart
+++ b/sdk/lib/_internal/pub_generated/lib/src/validator/executable.dart
@@ -11,8 +11,7 @@ class ExecutableValidator extends Validator {
try {
var binFiles = entrypoint.root.listFiles(
beneath: "bin",
- recursive: false).map(
- ((path) => p.relative(path, from: entrypoint.root.dir))).toList();
+ recursive: false).map(((path) => entrypoint.root.relative(path))).toList();
entrypoint.root.pubspec.executables.forEach(((executable, script) {
var scriptPath = p.join("bin", "$script.dart");
if (binFiles.contains(scriptPath)) return;

Powered by Google App Engine
This is Rietveld 408576698