Skip to content

Commit

Permalink
Fix: Some features show information from the wrong repository (#7061)
Browse files Browse the repository at this point in the history
  • Loading branch information
fregante committed Nov 15, 2023
1 parent e3ce2a5 commit cf847ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/github-helpers/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ export const v4 = mem(v4uncached, {
// https://github.com/refined-github/refined-github/issues/5821
// https://github.com/sindresorhus/eslint-plugin-unicorn/issues/1864
const key = [query, options];
if (query.includes('repository() {')) {
if (query.includes('repository() {') || query.includes('owner: $owner, name: $name')) {
key.push(getRepo()?.nameWithOwner);
}

Expand Down

0 comments on commit cf847ea

Please sign in to comment.