Skip to content

Commit adaa177

Browse files
authored
Element with id Local Pull Request Branches is already registered (#7271) (#7281)
Fixes #7264
1 parent 0095ac5 commit adaa177

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/migrations.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ async function makeQueriesScopedToRepo(context: vscode.ExtensionContext) {
3939

4040
const addRepoScope = (queries: IQueryInfo[]) => {
4141
return queries.map(query => {
42+
if (isLocalQuery(query) || isAllQuery(query)) {
43+
return query;
44+
}
4245
return {
4346
label: query.label,
4447
query: query.query.includes('repo:') ? query.query : `repo:\${owner}/\${repository} ${query.query}`,

0 commit comments

Comments
 (0)