Updated the project.
This commit is contained in:
parent
5dfe9f128d
commit
7919556077
1550 changed files with 17063 additions and 40183 deletions
5
my-app/node_modules/@angular-devkit/schematics/src/rules/template.js
generated
vendored
5
my-app/node_modules/@angular-devkit/schematics/src/rules/template.js
generated
vendored
|
@ -42,7 +42,10 @@ function applyContentTemplate(options) {
|
|||
};
|
||||
}
|
||||
catch (e) {
|
||||
if (e.code === 'ERR_ENCODING_INVALID_ENCODED_DATA') {
|
||||
// The second part should not be needed. But Jest does not support instanceof correctly.
|
||||
// See: https://github.com/jestjs/jest/issues/2549
|
||||
if (e instanceof TypeError ||
|
||||
e.code === 'ERR_ENCODING_INVALID_ENCODED_DATA') {
|
||||
return entry;
|
||||
}
|
||||
throw e;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue