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.
1 parent 27188ed commit d2e6fd2Copy full SHA for d2e6fd2
app/background/index.js
@@ -104,8 +104,8 @@ const init = (savedItems) => {
104
105
const start = () => setInterval(() => {
106
if(!$('.gct-file-tree').length) {
107
- urlPullRegex = /(http|https):\/\/(www\.)?github\.com\/[-a-zA-Z0-9]*\/[-a-zA-Z0-9]*\/pull\/[0-9]*\/(files|commits)/;
108
- urlCommitRegex = /(http|https):\/\/(www\.)?github\.com\/[-a-zA-Z0-9]*\/[-a-zA-Z0-9]*\/commit/;
+ urlPullRegex = /(http|https):\/\/(www\.)?github[\.]?[-a-zA-Z0-9]*\.com\/[-a-zA-Z0-9]*\/[-a-zA-Z0-9]*\/pull\/[0-9]*\/(files|commits)/;
+ urlCommitRegex = /(http|https):\/\/(www\.)?github[\.]?[-a-zA-Z0-9]*\.com\/[-a-zA-Z0-9]*\/[-a-zA-Z0-9]*\/commit/;
109
110
isCommit = location.href.match(urlCommitRegex);
111
0 commit comments