style(compiler): fix up grammar in error message (#24201)
closes #22746 PR Close #24201
This commit is contained in:
parent
c73196eb59
commit
aafb46a8fe
|
@ -993,7 +993,7 @@ export class CompileMetadataResolver {
|
||||||
providerMeta = new cpl.ProviderMeta(provider, {useClass: provider});
|
providerMeta = new cpl.ProviderMeta(provider, {useClass: provider});
|
||||||
} else if (provider === void 0) {
|
} else if (provider === void 0) {
|
||||||
this._reportError(syntaxError(
|
this._reportError(syntaxError(
|
||||||
`Encountered undefined provider! Usually this means you have a circular dependencies (might be caused by using 'barrel' index.ts files.`));
|
`Encountered undefined provider! Usually this means you have a circular dependencies. This might be caused by using 'barrel' index.ts files.`));
|
||||||
return;
|
return;
|
||||||
} else {
|
} else {
|
||||||
const providersInfo =
|
const providersInfo =
|
||||||
|
|
Loading…
Reference in New Issue