X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fcore%2Fmodule-import-guard.ts;h=32b1d8f193d1cfd72353a3225a98272e342c6429;hb=7f8f8bdb4a1fb695a114874c4679605ac8911e2d;hp=445640c4fff2435a72e7090a37531d81fb63ed6c;hpb=693b1aba4675f7e3d850e0f6d07dbfc7bdff9b8c;p=github%2FChocobozzz%2FPeerTube.git 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 @@ -export function throwIfAlreadyLoaded(parentModule: any, moduleName: string) { +export function throwIfAlreadyLoaded (parentModule: any, moduleName: string) { if (parentModule) { - throw new Error(`${moduleName} has already been loaded. Import Core modules in the AppModule only.`); + throw new Error(`${moduleName} has already been loaded. Import Core modules in the AppModule only.`) } }