diff options
author | Chocobozzz <me@florianbigard.com> | 2020-01-30 13:41:22 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-01-30 13:41:22 +0100 |
commit | 43482ec712d4298e18e4c7642d115ed78a345681 (patch) | |
tree | d5d5e1047fe92076909a71a040e649bb0d439b6c | |
parent | ca6d36227a9273f616a462d3aad6a721ab5dd627 (diff) | |
download | PeerTube-43482ec712d4298e18e4c7642d115ed78a345681.tar.gz PeerTube-43482ec712d4298e18e4c7642d115ed78a345681.tar.zst PeerTube-43482ec712d4298e18e4c7642d115ed78a345681.zip |
Fix lint
-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) => { |