Enable lint prefer asserts in initializer lists (#12903)
* enable lint prefer_asserts_in_initializer_lists * enable --assert-initializer
This commit is contained in:
committed by
GitHub
parent
a75f003b9c
commit
15601fe55c
@@ -39,6 +39,7 @@ IF NOT EXIST "%flutter_root%\.git" (
|
||||
REM Ensure that bin/cache exists.
|
||||
IF NOT EXIST "%cache_dir%" MKDIR "%cache_dir%"
|
||||
|
||||
SET FLUTTER_TOOL_ARGS=--assert-initializer %FLUTTER_TOOL_ARGS%
|
||||
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"
|
||||
|
||||
Reference in New Issue
Block a user