Unverified Commit 1b8e6b42 authored by Jonah Williams's avatar Jonah Williams Committed by GitHub

[flutter_tools] fix exit label for batchfile (#62272)

move the final_exit label to the correct script location for the flutter/dart entrypoints.
parent 175e5c9a
......@@ -32,6 +32,3 @@ REM Do not use the CALL command in the next line to execute Dart. CALL causes
REM Windows to re-read the line from disk after the CALL command has finished
REM regardless of the ampersand chain.
"%dart%" %* & exit /B !ERRORLEVEL!
:final_exit
EXIT /B %exit_code%
......@@ -52,6 +52,3 @@ REM Do not use the CALL command in the next line to execute Dart. CALL causes
REM Windows to re-read the line from disk after the CALL command has finished
REM regardless of the ampersand chain.
"%dart%" --disable-dart-dev --packages="%flutter_tools_dir%\.packages" %FLUTTER_TOOL_ARGS% "%snapshot_path%" %* & exit /B !ERRORLEVEL!
:final_exit
EXIT /B %exit_code%
......@@ -158,3 +158,6 @@ GOTO :after_subroutine
EXIT /B
:after_subroutine
:final_exit
EXIT /B %exit_code%
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment