aboutsummaryrefslogtreecommitdiffhomepage
path: root/server
diff options
context:
space:
mode:
authorOkhin <okhin@okhin.fr>2018-03-24 20:47:42 +0100
committerRigel Kent <par@rigelk.eu>2018-03-24 21:17:29 +0100
commit5c5638a062d90a0f0cd5f6e8ccb3589099668e79 (patch)
treec4466af1b12426e423617defe6d011f6914fbf3e /server
parent193b12bf8fa7aae3b171fcfe781074b0d23ece58 (diff)
downloadPeerTube-5c5638a062d90a0f0cd5f6e8ccb3589099668e79.tar.gz
PeerTube-5c5638a062d90a0f0cd5f6e8ccb3589099668e79.tar.zst
PeerTube-5c5638a062d90a0f0cd5f6e8ccb3589099668e79.zip
Removing unnecessary semicolons
Diffstat (limited to 'server')
-rw-r--r--server/tools/import-videos.ts8
1 files 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 () {
54 const options = [ '-j', '--flat-playlist', '--playlist-reverse' ] 54 const options = [ '-j', '--flat-playlist', '--playlist-reverse' ]
55 youtubeDL.getInfo(program['targetUrl'], options, processOptions, async (err, info) => { 55 youtubeDL.getInfo(program['targetUrl'], options, processOptions, async (err, info) => {
56 if (err) { 56 if (err) {
57 console.log(err.message); 57 console.log(err.message)
58 process.exit(1); 58 process.exit(1)
59 } 59 }
60 60
61 let infoArray: any[] 61 let infoArray: any[]
@@ -160,8 +160,8 @@ async function uploadVideoOnPeerTube (videoInfo: any, videoPath: string, languag
160 160
161 await uploadVideo(program['url'], accessToken, videoAttributes) 161 await uploadVideo(program['url'], accessToken, videoAttributes)
162 } else { 162 } else {
163 console.log(err.message); 163 console.log(err.message)
164 process.exit(1); 164 process.exit(1)
165 } 165 }
166 } 166 }
167 167