We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31f1a17 commit 9b84ed7Copy full SHA for 9b84ed7
routes/github.js
@@ -50,9 +50,8 @@ router.all("/api/v1/github/webhook", async (ctx) => {
50
JSON.stringify(mySolutions)
51
);
52
53
- process.exec(
54
- "sh " + path.resolve(__dirname, "../scripts/commit.sh"),
55
- console.log
+ console.log(
+ process.execSync("sh " + path.resolve(__dirname, "../scripts/commit.sh"))
56
57
}
58
0 commit comments