mirror of
https://github.com/spacebarchat/server.git
synced 2026-04-13 05:15:42 +00:00
Push local state...
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user