Removes insiders flag from stash commands

This commit is contained in:
Eric Amodio
2017-05-24 22:59:17 -04:00
parent bb834f2e0a
commit 77651701aa
6 changed files with 4 additions and 7 deletions

View File

@@ -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) {

View File

@@ -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;

View File

@@ -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) {