Skip to content

Commit 6e77795

Browse files
committed
[fix] await run
1 parent bb8f11e commit 6e77795

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

lib/services/runner/console_runner_service.dart

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
import 'package:terrun/core/core.dart';
32
import 'package:terrun/services/runner/runner_service.dart';
43
import 'package:terrun/services/shell/shell_service.dart';
@@ -15,7 +14,7 @@ class ProcessRunnerService implements RunnerService {
1514
final result = await _shell.run(preRun.isNotEmpty ? '$preRun && $command' : command);
1615

1716
if (postRun.isNotEmpty) {
18-
final _ = _shell.run(postRun);
17+
final _ = await _shell.run(postRun);
1918
}
2019

2120
if (result.exitCode == 0) {

pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: terrun
22
description: terrun - efficient terminal runner
3-
version: 0.0.13
3+
version: 0.0.14
44
repository: https://github.com/mikeborodin/menusc
55

66
environment:

0 commit comments

Comments
 (0)