diff options
Diffstat (limited to 'client/src/app/core/module-import-guard.ts')
-rw-r--r-- | client/src/app/core/module-import-guard.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/core/module-import-guard.ts b/client/src/app/core/module-import-guard.ts index 445640c4f..32b1d8f19 100644 --- a/client/src/app/core/module-import-guard.ts +++ b/client/src/app/core/module-import-guard.ts | |||
@@ -1,5 +1,5 @@ | |||
1 | export function throwIfAlreadyLoaded(parentModule: any, moduleName: string) { | 1 | export function throwIfAlreadyLoaded (parentModule: any, moduleName: string) { |
2 | if (parentModule) { | 2 | if (parentModule) { |
3 | throw new Error(`${moduleName} has already been loaded. Import Core modules in the AppModule only.`); | 3 | throw new Error(`${moduleName} has already been loaded. Import Core modules in the AppModule only.`) |
4 | } | 4 | } |
5 | } | 5 | } |