aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/helpers/extensions.ts
diff options
context:
space:
mode:
authorJeremy Davis <jeremy.davis@sonarsource.com>2021-01-14 18:30:25 +0100
committersonartech <sonartech@sonarsource.com>2021-01-20 20:32:16 +0000
commitd6b1b8a262b3890ffe5fd741d0bbeaaabd25a880 (patch)
tree08f3158c506d6b6f141dd007470b5d393be02ea9 /server/sonar-web/src/main/js/helpers/extensions.ts
parent81fc4043e73b22679de97d1336ff943b4724a62b (diff)
downloadsonarqube-d6b1b8a262b3890ffe5fd741d0bbeaaabd25a880.tar.gz
sonarqube-d6b1b8a262b3890ffe5fd741d0bbeaaabd25a880.zip
SONAR-14309 Update eslint, typescript and fix issues
Diffstat (limited to 'server/sonar-web/src/main/js/helpers/extensions.ts')
-rw-r--r--server/sonar-web/src/main/js/helpers/extensions.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/helpers/extensions.ts b/server/sonar-web/src/main/js/helpers/extensions.ts
index da828ea9105..9add8d45ae7 100644
--- a/server/sonar-web/src/main/js/helpers/extensions.ts
+++ b/server/sonar-web/src/main/js/helpers/extensions.ts
@@ -38,10 +38,10 @@ export async function getExtensionStart(key: string) {
}
if (!librariesExposed) {
+ librariesExposed = true;
// Async import allows to reduce initial vendor bundle size
const exposeLibraries = (await import('../app/components/extensions/exposeLibraries')).default;
exposeLibraries();
- librariesExposed = true;
}
await installScript(`/static/${key}.js`);