mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-17 15:24:40 +01:00
fix task reveal logic
This commit is contained in:
@@ -3418,7 +3418,7 @@ function retargetTaskToWorktree(task: Task, worktreePath: string): Task | undefi
|
||||
worktreeTask.detail = task.detail;
|
||||
worktreeTask.group = task.group;
|
||||
worktreeTask.isBackground = task.isBackground;
|
||||
worktreeTask.presentationOptions = { reveal: TaskRevealKind.Never, panel: TaskPanelKind.New, ...task.presentationOptions };
|
||||
worktreeTask.presentationOptions = { ...task.presentationOptions, reveal: TaskRevealKind.Never, panel: TaskPanelKind.New };
|
||||
worktreeTask.runOptions = { ...task.runOptions };
|
||||
|
||||
return worktreeTask;
|
||||
|
||||
Reference in New Issue
Block a user