[flutter_tools] Use proper project name in templates (#96373)
This commit is contained in:
@@ -349,7 +349,8 @@ android {
|
||||
path.join(parent.path, 'hello', 'pubspec.yaml')
|
||||
);
|
||||
final String contents = pubspec.readAsStringSync();
|
||||
final String newContents = contents.replaceFirst('# The following section is specific to Flutter.${platformLineSep}flutter:$platformLineSep', '''
|
||||
final String newContents = contents.replaceFirst('${platformLineSep}flutter:$platformLineSep', '''
|
||||
|
||||
flutter:
|
||||
assets:
|
||||
- lib/gallery/example_code.dart
|
||||
|
||||
Reference in New Issue
Block a user