File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -171,9 +171,9 @@ GOTO :after_subroutine
171171 POPD
172172
173173 IF " %FLUTTER_TOOL_ARGS% " == " " (
174- " %dart% " --verbosity=error --snapshot=" %snapshot_path% " --packages=" %flutter_tools_dir% \.dart_tool\package_config.json" --no-enable-mirrors " %script_path% "
174+ " %dart% " --verbosity=error --snapshot=" %snapshot_path% " --snapshot-kind= " app-jit " -- packages=" %flutter_tools_dir% \.dart_tool\package_config.json" --no-enable-mirrors " %script_path% " > NUL
175175 ) else (
176- " %dart% " " %FLUTTER_TOOL_ARGS% " --verbosity=error --snapshot=" %snapshot_path% " --packages=" %flutter_tools_dir% \.dart_tool\package_config.json" " %script_path% "
176+ " %dart% " " %FLUTTER_TOOL_ARGS% " --verbosity=error --snapshot=" %snapshot_path% " --snapshot-kind= " app-jit " -- packages=" %flutter_tools_dir% \.dart_tool\package_config.json" " %script_path% " > NUL
177177 )
178178 IF " %ERRORLEVEL% " NEQ " 0" (
179179 ECHO Error: Unable to create dart snapshot for flutter tool. 1 >& 2
Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ function upgrade_flutter () (
155155 pub_upgrade_with_retry
156156
157157 # Compile...
158- " $DART " --verbosity=error --disable-dart-dev $FLUTTER_TOOL_ARGS --snapshot=" $SNAPSHOT_PATH " --packages=" $FLUTTER_TOOLS_DIR /.dart_tool/package_config.json" --no-enable-mirrors " $SCRIPT_PATH "
158+ " $DART " --verbosity=error --disable-dart-dev $FLUTTER_TOOL_ARGS --snapshot=" $SNAPSHOT_PATH " --snapshot-kind= " app-jit " -- packages=" $FLUTTER_TOOLS_DIR /.dart_tool/package_config.json" --no-enable-mirrors " $SCRIPT_PATH " > /dev/null
159159 echo " $compilekey " > " $STAMP_PATH "
160160 fi
161161 # The exit here is extraneous since the function is run in a subshell, but
You can’t perform that action at this time.
0 commit comments