mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-17 07:13:45 +01:00
Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
466961c128
commit
5d3da238a1
@@ -1899,9 +1899,8 @@ export class Repository implements Disposable {
|
||||
}
|
||||
|
||||
private async _setupWorktree(worktreePath: string): Promise<void> {
|
||||
// Copy worktree include files. We explicitly do not await this
|
||||
// since we don't want to block the worktree creation on the
|
||||
// copy operation.
|
||||
// Copy worktree include files and wait for the copy to complete
|
||||
// before running any worktree-created tasks.
|
||||
await this._copyWorktreeIncludeFiles(worktreePath);
|
||||
|
||||
await this._runWorktreeCreatedTasks(worktreePath);
|
||||
|
||||
Reference in New Issue
Block a user