Removing unnecessary semicolons

pull/415/head
Okhin 2018-03-24 20:47:42 +01:00 committed by Rigel Kent
parent 193b12bf8f
commit 5c5638a062
1 changed files with 4 additions and 4 deletions

View File

@ -54,8 +54,8 @@ async function run () {
const options = [ '-j', '--flat-playlist', '--playlist-reverse' ] const options = [ '-j', '--flat-playlist', '--playlist-reverse' ]
youtubeDL.getInfo(program['targetUrl'], options, processOptions, async (err, info) => { youtubeDL.getInfo(program['targetUrl'], options, processOptions, async (err, info) => {
if (err) { if (err) {
console.log(err.message); console.log(err.message)
process.exit(1); process.exit(1)
} }
let infoArray: any[] let infoArray: any[]
@ -160,8 +160,8 @@ async function uploadVideoOnPeerTube (videoInfo: any, videoPath: string, languag
await uploadVideo(program['url'], accessToken, videoAttributes) await uploadVideo(program['url'], accessToken, videoAttributes)
} else { } else {
console.log(err.message); console.log(err.message)
process.exit(1); process.exit(1)
} }
} }