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
path: root/config
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-08-24 15:10:17 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-08-24 15:10:17 +0300
commit4b9bde7848d9538c1635ffe7a5385ba013487b4a (patch)
tree5aad1d5d94ea233a36c8ac2850e099236e1c2cdc /config
parent2f752481c2e727834216a93dee82df9f8e2acb2e (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'config')
-rw-r--r--config/helpers/is_eslint.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/helpers/is_eslint.js b/config/helpers/is_eslint.js
index 5dfb7e533e4..55ec42e68c1 100644
--- a/config/helpers/is_eslint.js
+++ b/config/helpers/is_eslint.js
@@ -5,7 +5,7 @@ const isESLint = mod => {
let parent = mod.parent;
while (parent) {
- if (parent.filename.includes('/eslint')) {
+ if (parent.filename && parent.filename.includes('/eslint')) {
return true;
}