From a32ca79e022eb717a1393ce9b60a1b8722588cf6 Mon Sep 17 00:00:00 2001 From: bus Date: Fri, 30 Apr 2021 00:57:38 +0200 Subject: [PATCH] renamed env var --- hooks.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hooks.js b/hooks.js index 085f74f..bd5fb42 100644 --- a/hooks.js +++ b/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 {