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 cb7ab97 commit fe13a45Copy full SHA for fe13a45
integrations/github-files/src/github.ts
@@ -7,8 +7,8 @@ export interface GithubProps {
7
8
const splitGithubUrl = (url: string) => {
9
const permalinkRegex =
10
- /^https?:\/\/github\.com\/([\w-]+)\/([\w-]+)\/blob\/([a-f0-9]+)\/(.+?)#(.+)$/;
11
- const wholeFileRegex = /^https?:\/\/github\.com\/([\w-]+)\/([\w-]+)\/blob\/([\w.-]+)\/(.+)$/;
+ /^https?:\/\/github\.com\/([\w-]+)\/([\w.-]+)\/blob\/([a-f0-9]+)\/(.+?)#(.+)$/;
+ const wholeFileRegex = /^https?:\/\/github\.com\/([\w-]+)\/([\w.-]+)\/blob\/([\w.-]+)\/(.+)$/;
12
const multipleLineRegex = /^L\d+-L\d+$/;
13
14
let orgName = '';
0 commit comments