Skip to content

Commit fe44d14

Browse files
committed
1 parent 4fa0b65 commit fe44d14

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
@@ -1766,7 +1766,7 @@ export class Repository {
17661766
}
17671767

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

17711771
} catch (err) {
17721772
return '';

0 commit comments

Comments
 (0)