fixed yargs deprecation warnings

This commit is contained in:
Eugene Pankov
2021-12-12 12:03:10 +01:00
parent d039d76cff
commit 07c522385f

View File

@@ -25,7 +25,7 @@ export function parseArgs (argv: string[], cwd: string): any {
type: 'string', type: 'string',
}) })
}) })
.version('version', '', app.getVersion()) .version(app.getVersion())
.option('debug', { .option('debug', {
alias: 'd', alias: 'd',
describe: 'Show DevTools on start', describe: 'Show DevTools on start',