Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-08-12 03:10:38 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-08-12 03:10:38 +0300
commite57da6ba898df025f93bf8d3a896c7c2ba2ab830 (patch)
tree0eb1feedb28db1bbf9a695aae76b025a65105404 /app/assets/javascripts/webpack.js
parent23790cda2b4145294d71591515acfe892d4c99a7 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/webpack.js')
-rw-r--r--app/assets/javascripts/webpack.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/assets/javascripts/webpack.js b/app/assets/javascripts/webpack.js
index ef82142289d..1c6e632135d 100644
--- a/app/assets/javascripts/webpack.js
+++ b/app/assets/javascripts/webpack.js
@@ -7,7 +7,6 @@
* e.g. the `window` scope, because it needs to be executed in the scope of webpack.
*/
-// eslint-disable-next-line camelcase
-if (gon && gon.webpack_public_path && typeof __webpack_public_path__ !== 'undefined') {
+if (gon && gon.webpack_public_path) {
__webpack_public_path__ = gon.webpack_public_path; // eslint-disable-line camelcase
}