diff options
Diffstat (limited to 'server/helpers')
-rw-r--r-- | server/helpers/core-utils.ts | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/server/helpers/core-utils.ts b/server/helpers/core-utils.ts index 519dc83d0..7e8252aa4 100644 --- a/server/helpers/core-utils.ts +++ b/server/helpers/core-utils.ts | |||
@@ -199,8 +199,6 @@ function sha1 (str: string | Buffer, encoding: HexBase64Latin1Encoding = 'hex') | |||
199 | return createHash('sha1').update(str).digest(encoding) | 199 | return createHash('sha1').update(str).digest(encoding) |
200 | } | 200 | } |
201 | 201 | ||
202 | |||
203 | |||
204 | function execShell (command: string, options?: ExecOptions) { | 202 | function execShell (command: string, options?: ExecOptions) { |
205 | return new Promise<{ err?: Error, stdout: string, stderr: string }>((res, rej) => { | 203 | return new Promise<{ err?: Error, stdout: string, stderr: string }>((res, rej) => { |
206 | exec(command, options, (err, stdout, stderr) => { | 204 | exec(command, options, (err, stdout, stderr) => { |