Skip to content

Commit 329d39d

Browse files
authored
Merge pull request #1131 from SISheogorath/fix/gitlabSnippets
Fix shown but broken GitLab snippets
2 parents d1b2fb2 + bcb7972 commit 329d39d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/config/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ if (config.gitlab && config.gitlab.version !== 'v4' && config.gitlab.version !==
128128
config.gitlab.version = 'v4'
129129
}
130130
// If gitlab scope is api, enable snippets Export/import
131-
config.isGitlabSnippetsEnable = (!config.gitlab.scope || config.gitlab.scope === 'api')
131+
config.isGitlabSnippetsEnable = (!config.gitlab.scope || config.gitlab.scope === 'api') && config.isGitLabEnable
132132

133133
// Only update i18n files in development setups
134134
config.updateI18nFiles = (env === Environment.development)

0 commit comments

Comments
 (0)