This commit is contained in:
Eugene Pankov
2021-01-02 20:24:26 +01:00
parent 4d9cc91e91
commit 3365b143d8
9 changed files with 23 additions and 16 deletions

View File

@@ -171,7 +171,7 @@ export default class TerminalModule { // eslint-disable-line @typescript-eslint/
argv = argv.slice(1)
}
if (require('yargs').parse(argv.slice(1))._[0] !== 'open'){
if (require('yargs/yargs')(argv.slice(1)).parse()._[0] !== 'open'){
app.ready$.subscribe(() => {
terminal.openTab()
})