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

Unified Diff: sdk/bin/dartfmt.bat

Issue 2759333004: Fix spew when running presubmit which triggers dartfmt.bat on windows. We should also backport this… (Closed)
Patch Set: Fix spew when running presubmit which triggers dartfmt.bat on windows. We should also backport this… Created 3 years, 9 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/dartdoc.bat ('k') | sdk/bin/pub.bat » ('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 cd5930214bc855dd8e8f8c87d66100cc2cb50151..7a7412bbbb46523e0078ce8b5713f6eee72c6e68 100644
--- a/sdk/bin/dartfmt.bat
+++ b/sdk/bin/dartfmt.bat
@@ -47,7 +47,7 @@ setlocal
for %%i in (%1) do set result=%%~fi
set current=
for /f "usebackq tokens=2 delims=[]" %%i in (`dir /a:l "%~dp1" 2^>nul ^
- ^| %SystemRoot%\System32\find.exe "> %~n1 ["`) do (
+ ^| %SystemRoot%\System32\find.exe "> %~n1 [" 2^>nul`) do (
set current=%%i
)
if not "%current%"=="" call :follow_links "%current%", result
« no previous file with comments | « sdk/bin/dartdoc.bat ('k') | sdk/bin/pub.bat » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698