Skip to content

Commit 669d068

Browse files
AlexanderHarleymrkkrp
authored andcommitted
Add missing await to chmod execution
1 parent 4b9de76 commit 669d068

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ async function run() {
6161

6262
// Set mode
6363

64-
exec.exec('chmod', ['+x', ormolu_cached_path], {silent: true});
64+
await exec.exec('chmod', ['+x', ormolu_cached_path], {silent: true});
6565

6666
// Glob for the files to format
6767

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ async function run() {
5050

5151
// Set mode
5252

53-
exec.exec('chmod', ['+x', ormolu_cached_path], {silent: true});
53+
await exec.exec('chmod', ['+x', ormolu_cached_path], {silent: true});
5454

5555
// Glob for the files to format
5656

0 commit comments

Comments
 (0)