Skip to content

Commit 0ccb213

Browse files
mosuemCommit Queue
authored andcommitted
Fix new lines in build.dart
Fixes errors of the sort ``` mosum@mosum2:~/projects/i18n/pkgs/intl4x/example$ dart --enable-experiment=record-use build cli example.dart There are multiple possible targets in the `bin/` directory, and the 'target' argument wasn't specified.mosum@mosum2 ``` Change-Id: I7ed6dbd21838506c1fe60b6d69d6066406d3b7c7 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/467842 Auto-Submit: Moritz Sümmermann <[email protected]> Reviewed-by: Brian Quinlan <[email protected]> Commit-Queue: Brian Quinlan <[email protected]>
1 parent 3a2b49f commit 0ccb213

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/dartdev/lib/src/commands/build.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,14 +136,14 @@ then that is used instead.''',
136136
// AOT compilation isn't supported on ia32. Currently, generating an
137137
// executable only supports AOT runtimes, so these commands are disabled.
138138
if (Platform.version.contains('ia32')) {
139-
stderr.write("'dart build' is not supported on x86 architectures.");
139+
stderr.writeln("'dart build' is not supported on x86 architectures.");
140140
return 64;
141141
}
142142
final args = argResults!;
143143

144144
var target = args.option('target');
145145
if (target == null) {
146-
stderr.write(
146+
stderr.writeln(
147147
'There are multiple possible targets in the `bin/` directory, '
148148
"and the 'target' argument wasn't specified.",
149149
);

0 commit comments

Comments
 (0)