Skip to content

Commit 03a53d9

Browse files
authored
sessions: fix trust dialogs for worktree (#298294)
1 parent d228467 commit 03a53d9

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/vs/sessions/contrib/workspace/browser/workspaceFolderManagement.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,6 @@ export class WorkspaceFolderManagementContribution extends Disposable implements
8585
return;
8686
}
8787

88-
if (!this.isUriTrusted(session.repository)) {
89-
return;
90-
}
91-
9288
if (!this.isUriTrusted(session.worktree)) {
9389
await this.workspaceTrustManagementService.setUrisTrust([session.worktree], true);
9490
}

0 commit comments

Comments
 (0)