renamed env var
This commit is contained in:
parent
36ff52ae5b
commit
a32ca79e02
2
hooks.js
2
hooks.js
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue