Pass --disable-dart-dev in more places (#62217)
This commit is contained in:
@@ -262,6 +262,7 @@ class IconTreeShaker {
|
||||
) async {
|
||||
final List<String> cmd = <String>[
|
||||
dart.path,
|
||||
'--disable-dart-dev',
|
||||
constFinder.path,
|
||||
'--kernel-file', appDill.path,
|
||||
'--class-library-uri', 'package:flutter/src/widgets/icon_data.dart',
|
||||
|
||||
@@ -36,6 +36,7 @@ const String relativePath = 'fonts/MaterialIcons-Regular.ttf';
|
||||
|
||||
List<String> getConstFinderArgs(String appDillPath) => <String>[
|
||||
dartPath,
|
||||
'--disable-dart-dev',
|
||||
constFinderPath,
|
||||
'--kernel-file', appDillPath,
|
||||
'--class-library-uri', 'package:flutter/src/widgets/icon_data.dart',
|
||||
|
||||
Reference in New Issue
Block a user