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

move the final_exit label to the correct script location for the flutter/dart entrypoints.
This commit is contained in:
Jonah Williams 2020-07-28 10:19:43 -07:00 committed by GitHub
parent 175e5c9aca
commit 1b8e6b4236
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 6 deletions

View File

@ -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%

View File

@ -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%

View File

@ -158,3 +158,6 @@ GOTO :after_subroutine
EXIT /B
:after_subroutine
:final_exit
EXIT /B %exit_code%