mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-30 05:21:08 +01:00
fixes #80415
This commit is contained in:
@@ -1766,7 +1766,7 @@ export class Repository {
|
||||
}
|
||||
|
||||
const raw = await readfile(templatePath, 'utf8');
|
||||
return raw.replace(/\n?#.*/g, '');
|
||||
return raw.replace(/^\s*#.*$\n?/gm, '');
|
||||
|
||||
} catch (err) {
|
||||
return '';
|
||||
|
||||
Reference in New Issue
Block a user