fixed yargs deprecation warnings

This commit is contained in:
Eugene Pankov 2021-12-12 12:03:10 +01:00
parent d039d76cff
commit 07c522385f
No known key found for this signature in database
GPG Key ID: 5896FCBBDD1CF4F4

View File

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