mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
[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:
parent
175e5c9aca
commit
1b8e6b4236
@ -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 Windows to re-read the line from disk after the CALL command has finished
|
||||||
REM regardless of the ampersand chain.
|
REM regardless of the ampersand chain.
|
||||||
"%dart%" %* & exit /B !ERRORLEVEL!
|
"%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 Windows to re-read the line from disk after the CALL command has finished
|
||||||
REM regardless of the ampersand chain.
|
REM regardless of the ampersand chain.
|
||||||
"%dart%" --disable-dart-dev --packages="%flutter_tools_dir%\.packages" %FLUTTER_TOOL_ARGS% "%snapshot_path%" %* & exit /B !ERRORLEVEL!
|
"%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
|
EXIT /B
|
||||||
|
|
||||||
:after_subroutine
|
:after_subroutine
|
||||||
|
|
||||||
|
:final_exit
|
||||||
|
EXIT /B %exit_code%
|
||||||
|
Loading…
Reference in New Issue
Block a user