Browse Source

Adds a button to worktree error notification

Avoids the notification collapsing
main
Eric Amodio 2 years ago
parent
commit
dfed72edb5
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      src/commands/git/worktree.ts

+ 2
- 1
src/commands/git/worktree.ts View File

@ -401,7 +401,8 @@ export class WorktreeGitCommand extends QuickCommand {
void window.showErrorMessage(
`Unable to create a new worktree in '${GitWorktree.getFriendlyPath(
uri,
)} because that folder already exists and is not empty.`,
)}' because the folder already exists and is not empty.`,
'OK',
);
} else {
void Messages.showGenericErrorMessage(

Loading…
Cancel
Save