We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
conflict-marker
1 parent d093358 commit ba795a5Copy full SHA for ba795a5
source/index.ts
@@ -60,7 +60,7 @@ export const isPR = (): boolean => /^pull\/\d+/.test(getRepoPath()!);
60
61
export const isConflict = (): boolean => /^pull\/\d+\/conflicts/.test(getRepoPath()!);
62
63
-export const isPRList = (): boolean => getRepoPath() === 'pulls';
+export const isPRList = (): boolean => location.pathname === '/pulls' || getRepoPath() === 'pulls';
64
65
export const isPRCommit = (): boolean => /^pull\/\d+\/commits\/[0-9a-f]{5,40}/.test(getRepoPath()!);
66
0 commit comments