From 58718e8bc7a4d68e84d3519d938fb8d33cf6fccd Mon Sep 17 00:00:00 2001 From: Ian Hickson Date: Wed, 5 Jul 2017 15:34:02 -0700 Subject: [PATCH] Revert checked-mode patch. (#11086) --- bin/flutter | 5 ++--- bin/flutter.bat | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/bin/flutter b/bin/flutter index c2c736aa8c..c93782102e 100755 --- a/bin/flutter +++ b/bin/flutter @@ -65,9 +65,8 @@ if [ ! -d "$FLUTTER_ROOT/.git" ]; then exit 1 fi -FLUTTER_TOOL_ARGS="--checked" - -# To debug the tool, you can uncomment the following line to enable checked mode and set an observatory port: +# To debug the tool, you can uncomment the following lines to enable checked mode and set an observatory port: +# FLUTTER_TOOL_ARGS="--checked $FLUTTER_TOOL_ARGS" # FLUTTER_TOOL_ARGS="$FLUTTER_TOOL_ARGS --observe=65432" ( diff --git a/bin/flutter.bat b/bin/flutter.bat index 43e082d84b..645c808547 100644 --- a/bin/flutter.bat +++ b/bin/flutter.bat @@ -39,9 +39,8 @@ IF NOT EXIST "%flutter_root%\.git" ( REM Ensure that bin/cache exists. IF NOT EXIST "%cache_dir%" MKDIR "%cache_dir%" -SET FLUTTER_TOOL_ARGS="--checked" - -REM To debug the tool, you can uncomment the following line to enable checked mode and set an observatory port: +REM To debug the tool, you can uncomment the following lines to enable checked mode and set an observatory port: +REM SET FLUTTER_TOOL_ARGS="--checked %FLUTTER_TOOL_ARGS%" REM SET FLUTTER_TOOL_ARGS="%FLUTTER_TOOL_ARGS% --observe=65432" :acquire_lock