Skip to content

Commit a50e83b

Browse files
committed
Try to fix test on CI
1 parent 2727ee0 commit a50e83b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎packages/material_ui/tool/gen_defaults/templates/template.dart‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ abstract class TokenTemplate {
140140
if (verbose) {
141141
stdout.writeln('Formatting $fileName...');
142142
}
143-
final ProcessResult result = Process.runSync(Platform.resolvedExecutable, <String>[
143+
final ProcessResult result = Process.runSync(Platform.isWindows ? 'dart.bat' : 'dart', <String>[
144144
'format',
145145
fileName,
146146
]);

0 commit comments

Comments
 (0)