summary refs log tree commit diff
path: root/bundle/scripts/utils.js
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2022-08-12 01:46:42 +0200
committerTheArcaneBrony <myrainbowdash949@gmail.com>2022-08-13 21:57:51 +0200
commit44859db499f080e3a341f3e7fa5e44611fc2f887 (patch)
treee1f5df7de00929797de517683ff152e5f712bd02 /bundle/scripts/utils.js
parentMake ConfigValue a directory, move defaults to those classes instead of a sep... (diff)
downloadserver-44859db499f080e3a341f3e7fa5e44611fc2f887.tar.xz
Push local state...
Diffstat (limited to 'bundle/scripts/utils.js')
-rw-r--r--bundle/scripts/utils.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/bundle/scripts/utils.js b/bundle/scripts/utils.js

index bf960532..f4b1ad7f 100644 --- a/bundle/scripts/utils.js +++ b/bundle/scripts/utils.js
@@ -28,13 +28,14 @@ function copyRecursiveSync(src, dest) { } } -function execIn(cmd, workdir) { +function execIn(cmd, workdir, opts) { try { return execSync(cmd, { cwd: workdir, shell: true, env: process.env, encoding: "utf-8", + ...opts }); } catch (error) { return error.stdout;