Correctly import tags in CLI
This commit is contained in:
parent
2284f20207
commit
6f530096cb
2 changed files with 5 additions and 7 deletions
|
@ -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' ],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue