File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -254,15 +254,15 @@ function shared::execute() {
254254 upgrade_flutter 7< " $SHARED_NAME "
255255
256256 case " $BIN_NAME " in
257- flutter* )
257+ flutter-dev )
258258 # FLUTTER_TOOL_ARGS aren't quoted below, because it is meant to be
259259 # considered as separate space-separated args.
260- exec " $DART " --disable-dart-dev -- packages=" $FLUTTER_TOOLS_DIR /.dart_tool/package_config.json" $FLUTTER_TOOL_ARGS " $SNAPSHOT_PATH " " $@ "
260+ exec " $DART " --packages=" $FLUTTER_TOOLS_DIR /.dart_tool/package_config.json" $FLUTTER_TOOL_ARGS " $SCRIPT_PATH " " $@ "
261261 ;;
262- flutter-dev * )
262+ flutter* )
263263 # FLUTTER_TOOL_ARGS aren't quoted below, because it is meant to be
264264 # considered as separate space-separated args.
265- exec " $DART " --packages=" $FLUTTER_TOOLS_DIR /.dart_tool/package_config.json" $FLUTTER_TOOL_ARGS " $SCRIPT_PATH " " $@ "
265+ exec " $DART " --disable-dart-dev -- packages=" $FLUTTER_TOOLS_DIR /.dart_tool/package_config.json" $FLUTTER_TOOL_ARGS " $SNAPSHOT_PATH " " $@ "
266266 ;;
267267 dart* )
268268 exec " $DART " " $@ "
You can’t perform that action at this time.
0 commit comments