Skip to content

Commit e6c9392

Browse files
authored
Merge pull request #7 from AlexanderHarley/chmod-missing-await
Add missing await to chmod execution
2 parents 38eb1c8 + 89302f3 commit e6c9392

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
@@ -76,7 +76,7 @@ async function run() {
7676

7777
// Set mode
7878

79-
exec.exec('chmod', ['+x', fourmolu_cached_path], {silent: true});
79+
await exec.exec('chmod', ['+x', fourmolu_cached_path], {silent: true});
8080

8181
// Glob for the files to format
8282

index.js

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

6464
// Set mode
6565

66-
exec.exec('chmod', ['+x', fourmolu_cached_path], {silent: true});
66+
await exec.exec('chmod', ['+x', fourmolu_cached_path], {silent: true});
6767

6868
// Glob for the files to format
6969

0 commit comments

Comments
 (0)