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

Unified Diff: lib/src/pubspec.dart

Issue 1560393002: Fix a failing test on Windows. (Closed) Base URL: git@github.com:dart-lang/pub.git@master
Patch Set: Created 4 years, 11 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/pubspec.dart
diff --git a/lib/src/pubspec.dart b/lib/src/pubspec.dart
index 74e9becd26e2b5919823fecfc53b4c81e7a2a393..3cfcf6abf1fa2dc9cbcf7bff24f080a014f472ea 100644
--- a/lib/src/pubspec.dart
+++ b/lib/src/pubspec.dart
@@ -348,7 +348,7 @@ class Pubspec {
// Make the package dir absolute because for the entrypoint it'll just
// be ".", which may be confusing.
'Could not find a file named "pubspec.yaml" in '
- '"${path.normalize(path.absolute(packageDir))}".',
+ '"${canonicalize(packageDir)}".',
pubspecPath);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698