Sfoglia il codice sorgente

fixed yargs deprecation warnings

Eugene Pankov 4 anni fa
parent
commit
07c522385f
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      app/lib/cli.ts

+ 1 - 1
app/lib/cli.ts

@@ -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',