Skip to content

Commit e947987

Browse files
committed
#142: format
1 parent 4e50d6a commit e947987

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

lib/run_process/run_process.dart

+6-3
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,20 @@ class ProcessRunner {
1717
args,
1818
mode: ProcessStartMode.detachedWithStdio,
1919
);
20-
print('======================================================================');
20+
print(
21+
'======================================================================');
2122
final subscription = result.stdout.listen((codeUnits) {
2223
final line = utf8.decode(codeUnits);
2324
onLineWrite?.call(line);
2425
stdout.write(line);
2526
});
2627
subscription.onDone(() {
27-
print('======================================================================');
28+
print(
29+
'======================================================================');
2830
completer.complete();
2931
});
30-
subscription.onError((dynamic error) => completer.completeError('Failed to complete process run: $error'));
32+
subscription.onError((dynamic error) =>
33+
completer.completeError('Failed to complete process run: $error'));
3134
return completer.future;
3235
}
3336
}

test/run_process_test.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ void main() {
1212
],
1313
(line) => lines.add(line),
1414
);
15-
15+
1616
expect(lines.join('\n'), 'hello world\n');
1717
});
1818
}

0 commit comments

Comments
 (0)