mirror of https://github.com/microsoft/vscode.git
Handle worktree errors (#259106)
* fix worktree error handling * remove print statement * clean up
This commit is contained in:
parent
ce135b94c0
commit
f58a56ea03
|
@ -3622,6 +3622,8 @@ export class CommandCenter {
|
|||
}
|
||||
|
||||
private async handleWorktreeConflict(path: string, message: string): Promise<void> {
|
||||
await this.model.openRepository(path, true);
|
||||
|
||||
const worktreeRepository = this.model.getRepository(path);
|
||||
|
||||
if (!worktreeRepository) {
|
||||
|
|
Loading…
Reference in New Issue