Skip to content

Commit c4e82d4

Browse files
author
Amelia Wattenberger
authored
Merge pull request #10 from etienne-martin/main
add missing await
2 parents 8a2f3fd + b07facd commit c4e82d4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15102,7 +15102,7 @@ var main = async () => {
1510215102
core.info("[INFO] No changes to the repo detected, exiting");
1510315103
return;
1510415104
}
15105-
(0, import_exec.exec)("git", ["commit", "-m", "Repo visualizer: updated diagram"]);
15105+
await (0, import_exec.exec)("git", ["commit", "-m", "Repo visualizer: updated diagram"]);
1510615106
await (0, import_exec.exec)("git", ["push"]);
1510715107
console.log("All set!");
1510815108
};

src/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const main = async () => {
4242
return
4343
}
4444

45-
exec('git', ['commit', '-m', "Repo visualizer: updated diagram"])
45+
await exec('git', ['commit', '-m', "Repo visualizer: updated diagram"])
4646
await exec('git', ['push'])
4747

4848
console.log("All set!")

0 commit comments

Comments
 (0)