mirror of
https://github.com/Eugeny/tabby.git
synced 2025-10-04 14:04:56 +00:00
fixes
This commit is contained in:
@@ -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()
|
||||
})
|
||||
|
@@ -74,4 +74,6 @@ module.exports = {
|
||||
'ngx-toastr',
|
||||
/^terminus-/,
|
||||
],
|
||||
// Ignore warnings due to yarg's dynamic module loading
|
||||
ignoreWarnings: [/node_modules\/yargs/],
|
||||
}
|
||||
|
Reference in New Issue
Block a user