Browse Source

Passes existing flags

main
Eric Amodio 4 years ago
parent
commit
b1b0769776
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/terminal/linkProvider.ts

+ 1
- 1
src/terminal/linkProvider.ts View File

@ -35,7 +35,7 @@ export class GitTerminalLinkProvider implements Disposable, TerminalLinkProvider
const branchesAndTags = await Container.git.getBranchesAndOrTags(repoPath);
// Don't use the shared regex instance directly, because we can be called reentrantly (because of the awaits below)
const regex = new RegExp(refRegex, 'gi');
const regex = new RegExp(refRegex, refRegex.flags);
let match;
do {

Loading…
Cancel
Save