Skip to content

Commit 978d3be

Browse files
committed
lint fix
1 parent 4ad7d6e commit 978d3be

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/config.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { readFile, watch } from "node:fs/promises";
1+
import { readFile } from "node:fs/promises";
22
import yaml from "js-yaml";
33

44
const CONFIG_FILE = "config/config.yaml";
@@ -47,7 +47,7 @@ export default class Config {
4747
console.error(`Webhook configuration for app ${appid} at index ${index} is missing 'repo' or 'workflow_id'`);
4848
process.exit(1);
4949
}
50-
if (!webhook.access_token || !process.env.GITHUB_ACCESS_TOKEN || !config.github-token) {
50+
if (!webhook.access_token || !process.env.GITHUB_ACCESS_TOKEN || !config.github - token) {
5151
console.error(`Webhook configuration for app ${appid} at index ${index} is missing an access token and there's no default token set`);
5252
process.exit(1);
5353
}

0 commit comments

Comments
 (0)