Index: sdk/bin/dartanalyzer.bat |
diff --git a/sdk/bin/dartanalyzer.bat b/sdk/bin/dartanalyzer.bat |
index f03dfbd8c7d0d92332539be352c921d895ab2740..4e8ba547df815c2525d73727096b6cffc30d0eb4 100644 |
--- a/sdk/bin/dartanalyzer.bat |
+++ b/sdk/bin/dartanalyzer.bat |
@@ -40,7 +40,7 @@ if %DART_ROOT:~-1%==\ set DART_ROOT=%DART_ROOT:~0,-1% |
set ANALYZER=%DART_ROOT%\pkg\analyzer_cli\bin\analyzer.dart |
-"%DART%" %EXTRA_VM_OPTIONS% "%ANALYZER%" "%SDK_ARG%" %* |
+"%DART%" "--packages=%DART_ROOT%\.packages" %EXTRA_VM_OPTIONS% "%ANALYZER%" "%SDK_ARG%" %* |
endlocal |