[flutter_tools] null assertions off by default for web (#64186)
Like Android/iOS, only enable --null-assertions if asked. Previously this was enabled by default for web, but in general this has proved to be too breaking to enable by default. #61042
This commit is contained in:
@@ -866,7 +866,8 @@ Future<void> _runWebDebugTest(String target, {
|
||||
...<String>[
|
||||
'--enable-experiment',
|
||||
'non-nullable',
|
||||
'--no-sound-null-safety'
|
||||
'--no-sound-null-safety',
|
||||
'--null-assertions',
|
||||
],
|
||||
'-d',
|
||||
'chrome',
|
||||
|
||||
Reference in New Issue
Block a user