mirror of
https://github.com/ckaczor/vscode-gitlens.git
synced 2026-02-06 01:35:36 -05:00
Removes insiders flag from stash commands
This commit is contained in:
@@ -21,7 +21,6 @@ export class StashApplyCommand extends Command {
|
||||
}
|
||||
|
||||
async execute(args: StashApplyCommandArgs = { confirm: true, deleteAfter: false }) {
|
||||
if (!this.git.config.insiders) return undefined;
|
||||
if (!this.git.repoPath) return undefined;
|
||||
|
||||
if (args.stashItem === undefined || args.stashItem.stashName === undefined) {
|
||||
|
||||
@@ -19,7 +19,6 @@ export class StashDeleteCommand extends Command {
|
||||
}
|
||||
|
||||
async execute(args: StashDeleteCommandArgs = { confirm: true }) {
|
||||
if (!this.git.config.insiders) return undefined;
|
||||
if (!this.git.repoPath) return undefined;
|
||||
|
||||
if (args.stashItem === undefined || args.stashItem.stashName === undefined) return undefined;
|
||||
|
||||
@@ -19,7 +19,6 @@ export class StashSaveCommand extends Command {
|
||||
}
|
||||
|
||||
async execute(args: StashSaveCommandArgs = { unstagedOnly : false }) {
|
||||
if (!this.git.config.insiders) return undefined;
|
||||
if (!this.git.repoPath) return undefined;
|
||||
|
||||
if (args.unstagedOnly === undefined) {
|
||||
|
||||
Reference in New Issue
Block a user