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

Unified Diff: lib/dwc.dart

Issue 55143003: webui fixes for 0.8.9 (Closed) Base URL: git@github.com:dart-lang/web-ui.git@master
Patch Set: Created 7 years, 2 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: lib/dwc.dart
diff --git a/lib/dwc.dart b/lib/dwc.dart
index e036b30ecf7cd85c77a08586155de8e66a4e854c..a6d8c73485131bacd81e62ac1a6661b1ee4ddb31 100755
--- a/lib/dwc.dart
+++ b/lib/dwc.dart
@@ -19,8 +19,8 @@ import 'src/utils.dart';
FileSystem fileSystem;
-void main() {
- run(new Options().arguments).then((result) {
+void main(args) {
+ run(args).then((result) {
exit(result.success ? 0 : 1);
});
}
@@ -155,7 +155,7 @@ Future symlinkPubPackages(CompilerResult result, CompilerOptions options,
// [fullPathSync] will canonicalize the path, resolving any symlinks.
// TODO(sigmund): once it's possible in dart:io, we just want to use a full
// path, but not necessarily resolve symlinks.
- var target = new File(targetPath).fullPathSync().toString();
+ var target = new File(targetPath).absolute.resolveSymbolicLinksSync();
return createSymlink(target, linkPath, messages: messages);
}
« no previous file with comments | « lib/component_build.dart ('k') | lib/observe/observable.dart » ('j') | pubspec.yaml » ('J')

Powered by Google App Engine
This is Rietveld 408576698