Fix logs (verbose) CLI option (#808)

This commit is contained in:
Malik Ahmed 2022-11-22 13:40:48 -05:00 committed by Alex Kaminskii
parent 684b9f4058
commit cf2c0ef4a5

View file

@ -55,10 +55,10 @@ dir.addArgument(['-u', '--js-dir-url'], {
// TODO: exclude in dir
const { command, api_key, project_key, server, verbose, ...args } =
const { command, api_key, project_key, server, logs, ...args } =
parser.parseArgs();
global._VERBOSE = !!verbose;
global._VERBOSE = !!logs;
(command === 'file'
? uploadFile(