浏览代码

Passes existing flags

main
Eric Amodio 4 年前
父节点
当前提交
b1b0769776
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      src/terminal/linkProvider.ts

+ 1
- 1
src/terminal/linkProvider.ts 查看文件

@ -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 {

正在加载...
取消
保存