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 |