mirror of
https://github.com/ckaczor/vscode-gitlens.git
synced 2026-02-06 17:25:46 -05:00
Attempts to fix #58 - work with sub-modules
Also fixes issue with nested repos
This commit is contained in:
@@ -12,6 +12,7 @@ export class StashDeleteCommand extends Command {
|
||||
|
||||
async execute(stashItem: { stashName: string, message: string }, confirm: boolean = true) {
|
||||
if (!this.git.config.insiders) return undefined;
|
||||
if (!this.git.repoPath) return undefined;
|
||||
if (!stashItem || !stashItem.stashName) return undefined;
|
||||
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user