summaryrefslogtreecommitdiff
path: root/src/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/index.ts')
-rw-r--r--src/index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index.ts b/src/index.ts
index bb3b6c7..eb496ce 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -60,4 +60,4 @@ async function main(configPath) {
fs.writeFileSync(config.icsPath, cal.toString());
}
-main(process.argv[2] || './config-example.json').catch(console.log);
+main(process.env.SPLUS_CONFIG || process.argv[2] || './config-example.json').catch(console.log);