We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ad7d6e commit 978d3beCopy full SHA for 978d3be
1 file changed
src/config.mjs
@@ -1,4 +1,4 @@
1
-import { readFile, watch } from "node:fs/promises";
+import { readFile } from "node:fs/promises";
2
import yaml from "js-yaml";
3
4
const CONFIG_FILE = "config/config.yaml";
@@ -47,7 +47,7 @@ export default class Config {
47
console.error(`Webhook configuration for app ${appid} at index ${index} is missing 'repo' or 'workflow_id'`);
48
process.exit(1);
49
}
50
- if (!webhook.access_token || !process.env.GITHUB_ACCESS_TOKEN || !config.github-token) {
+ if (!webhook.access_token || !process.env.GITHUB_ACCESS_TOKEN || !config.github - token) {
51
console.error(`Webhook configuration for app ${appid} at index ${index} is missing an access token and there's no default token set`);
52
53
0 commit comments