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

Unified Diff: sdk/bin/dartfmt.bat

Issue 2374453002: Tools not running from snapshots should use /.packages (Closed)
Patch Set: DART_ROOT doesn't exist in pub scripts Created 4 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
« no previous file with comments | « sdk/bin/dartfmt ('k') | sdk/bin/pub » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/bin/dartfmt.bat
diff --git a/sdk/bin/dartfmt.bat b/sdk/bin/dartfmt.bat
index edab2ddefe097f875ab9d0719b054708b20ff07a..cd5930214bc855dd8e8f8c87d66100cc2cb50151 100644
--- a/sdk/bin/dartfmt.bat
+++ b/sdk/bin/dartfmt.bat
@@ -27,7 +27,7 @@ if %DART_ROOT:~-1%==\ set DART_ROOT=%DART_ROOT:~0,-1%
set DARTFMT=%DART_ROOT%\third_party\pkg_tested\dart_style\bin\format.dart
-"%DART%" "%DARTFMT%" %*
+"%DART%" "--packages=%DART_ROOT%\.packages" "%DARTFMT%" %*
endlocal
« no previous file with comments | « sdk/bin/dartfmt ('k') | sdk/bin/pub » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698