1
0
Fork 0

Correctly import tags in CLI

This commit is contained in:
Chocobozzz 2019-07-29 14:10:31 +02:00
parent 2284f20207
commit 6f530096cb
No known key found for this signature in database
GPG key ID: 583A612D890159BE
2 changed files with 5 additions and 7 deletions

View file

@ -46,11 +46,7 @@ async function run (url: string, username: string, password: string) {
console.log('Uploading %s video...', program[ 'videoName' ])
const defaultAttributes = {
tags: command[ 'tags' ],
description: command[ 'videoDescription' ]
}
const videoAttributes = await buildVideoAttributesFromCommander(url, program, defaultAttributes)
const videoAttributes = await buildVideoAttributesFromCommander(url, program)
Object.assign(videoAttributes, {
fixture: program[ 'file' ],