mirror of https://github.com/Chocobozzz/PeerTube
Removing unnecessary semicolons
parent
193b12bf8f
commit
5c5638a062
|
@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue