We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82550af commit a0aa14fCopy full SHA for a0aa14f
src/cdk/schematics/update-tool/component-resource-collector.ts
@@ -155,7 +155,7 @@ export class ComponentResourceCollector {
155
return;
156
}
157
158
- const fileContent = this._fileSystem.read(templatePath);
+ const fileContent = stripBom(this._fileSystem.read(templatePath) || '');
159
160
if (fileContent) {
161
const lineStartsMap = computeLineStartsMap(fileContent);
0 commit comments