projects
/
oweals
/
peertube.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca6d362
)
Fix lint
author
Chocobozzz
<me@florianbigard.com>
Thu, 30 Jan 2020 12:41:22 +0000
(13:41 +0100)
committer
Chocobozzz
<me@florianbigard.com>
Thu, 30 Jan 2020 12:41:22 +0000
(13:41 +0100)
server/helpers/core-utils.ts
patch
|
blob
|
history
diff --git
a/server/helpers/core-utils.ts
b/server/helpers/core-utils.ts
index 519dc83d0e4d09beec402f4a6316b9afa4c0ea1b..7e8252aa40f3db496d367303335ad9ab39b94f63 100644
(file)
--- a/
server/helpers/core-utils.ts
+++ b/
server/helpers/core-utils.ts
@@
-199,8
+199,6
@@
function sha1 (str: string | Buffer, encoding: HexBase64Latin1Encoding = 'hex')
return createHash('sha1').update(str).digest(encoding)
}
-
-
function execShell (command: string, options?: ExecOptions) {
return new Promise<{ err?: Error, stdout: string, stderr: string }>((res, rej) => {
exec(command, options, (err, stdout, stderr) => {