aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/helpers/youtube-dl.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/helpers/youtube-dl.ts')
-rw-r--r--server/helpers/youtube-dl.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/helpers/youtube-dl.ts b/server/helpers/youtube-dl.ts
index 3a9e57561..8537a5772 100644
--- a/server/helpers/youtube-dl.ts
+++ b/server/helpers/youtube-dl.ts
@@ -195,7 +195,7 @@ async function updateYoutubeDLBinary () {
195 195
196 await ensureDir(binDirectory) 196 await ensureDir(binDirectory)
197 197
198 return new Promise(res => { 198 return new Promise<void>(res => {
199 request.get(url, { followRedirect: false }, (err, result) => { 199 request.get(url, { followRedirect: false }, (err, result) => {
200 if (err) { 200 if (err) {
201 logger.error('Cannot update youtube-dl.', { err }) 201 logger.error('Cannot update youtube-dl.', { err })