From 5c5638a062d90a0f0cd5f6e8ccb3589099668e79 Mon Sep 17 00:00:00 2001 From: Okhin Date: Sat, 24 Mar 2018 20:47:42 +0100 Subject: [PATCH] Removing unnecessary semicolons --- server/tools/import-videos.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/server/tools/import-videos.ts b/server/tools/import-videos.ts index 72223a01a..baaedd329 100644 --- a/server/tools/import-videos.ts +++ b/server/tools/import-videos.ts @@ -54,8 +54,8 @@ async function run () { const options = [ '-j', '--flat-playlist', '--playlist-reverse' ] youtubeDL.getInfo(program['targetUrl'], options, processOptions, async (err, info) => { if (err) { - console.log(err.message); - process.exit(1); + console.log(err.message) + process.exit(1) } let infoArray: any[] @@ -160,8 +160,8 @@ async function uploadVideoOnPeerTube (videoInfo: any, videoPath: string, languag await uploadVideo(program['url'], accessToken, videoAttributes) } else { - console.log(err.message); - process.exit(1); + console.log(err.message) + process.exit(1) } } -- 2.25.1