Skip to content

Commit 5481dcc

Browse files
committed
Merge commit 'refs/pull/71710/head' of github.com:microsoft/vscode into pr/71710
2 parents a358a16 + b3401b2 commit 5481dcc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

extensions/git/src/git.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1754,7 +1754,7 @@ export class Repository {
17541754
}
17551755

17561756
const raw = await readfile(templatePath, 'utf8');
1757-
return raw.replace(/^\s*#.*$\n?/gm, '').trim();
1757+
return raw.replace(/\n?#.*/g, '');
17581758

17591759
} catch (err) {
17601760
return '';

0 commit comments

Comments
 (0)