renamed env var

This commit is contained in:
bus 2021-04-30 00:57:38 +02:00
parent 36ff52ae5b
commit a32ca79e02

View file

@ -5,7 +5,7 @@ const path = require('path');
const { spawn } = require('child_process');
const { getEnvVar } = require('./env.js');
const getHooksRoot = () => getEnvVar('ST_HOOK_DIR', path.join(os.homedir(), '/.syncthing-hooks'))
const getHooksRoot = () => getEnvVar('ST_HOOK_ROOT', path.join(os.homedir(), '/.syncthing-hooks'))
const readHooksRoot = async root => {
try {