aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/core/module-import-guard.ts
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-06-16 14:32:15 +0200
committerChocobozzz <florian.bigard@gmail.com>2017-06-16 14:32:15 +0200
commitdf98563e2104b82b119c00a3cd83cd0dc1242d25 (patch)
treea9720bf01bac9ad5646bd3d3c9bc7653617afdad /client/src/app/core/module-import-guard.ts
parent46757b477c1adb5f98060d15998a3852e18902a6 (diff)
downloadPeerTube-df98563e2104b82b119c00a3cd83cd0dc1242d25.tar.gz
PeerTube-df98563e2104b82b119c00a3cd83cd0dc1242d25.tar.zst
PeerTube-df98563e2104b82b119c00a3cd83cd0dc1242d25.zip
Use typescript standard and lint all files
Diffstat (limited to 'client/src/app/core/module-import-guard.ts')
-rw-r--r--client/src/app/core/module-import-guard.ts4
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 @@
1export function throwIfAlreadyLoaded(parentModule: any, moduleName: string) { 1export 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}