Add --ignore-last-opened option (#2434)
This allows bypassing the last opened behavior for certain cases where that's not desirable. Fixes #1951
This commit is contained in:
@@ -43,7 +43,7 @@ export class VscodeProvider {
|
||||
options.args._ && options.args._.length > 0
|
||||
? { url: path.resolve(options.args._[options.args._.length - 1]) }
|
||||
: undefined,
|
||||
lastVisited,
|
||||
!options.args["ignore-last-opened"] ? lastVisited : undefined,
|
||||
])
|
||||
|
||||
settings.write({
|
||||
|
||||
Reference in New Issue
Block a user