Skip to content

Commit ae32915

Browse files
committed
Remove redundant Windows shorebird.yaml update (#74)
* Remove redundant Windows shorebird.yaml update * remove comments * remove unused var
1 parent 73fb01b commit ae32915

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

packages/flutter_tools/lib/src/windows/build_windows.dart

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -128,21 +128,6 @@ Future<void> buildWindows(
128128
'Built ${globals.fs.path.relative(buildOutput.path)}',
129129
color: TerminalColor.green,
130130
);
131-
final File shorebirdYamlFile = buildDirectory
132-
.childDirectory('runner')
133-
.childDirectory(sentenceCase(buildModeName))
134-
.childDirectory('data')
135-
.childDirectory('flutter_assets')
136-
.childFile('shorebird.yaml');
137-
138-
if (shorebirdYamlFile.existsSync()) {
139-
try {
140-
updateShorebirdYaml(buildInfo.flavor, shorebirdYamlFile.path, environment: globals.platform.environment);
141-
} on Exception catch (error) {
142-
globals.printError('[shorebird] failed to generate shorebird configuration.\n$error');
143-
throw Exception('Failed to generate shorebird configuration');
144-
}
145-
}
146131

147132
if (buildInfo.codeSizeDirectory != null && sizeAnalyzer != null) {
148133
final String arch = getNameForTargetPlatform(targetPlatform);

0 commit comments

Comments
 (0)