Skip to content
Permalink
Browse files

Merge pull request #1131 from SISheogorath/fix/gitlabSnippets

Fix shown but broken GitLab snippets
  • Loading branch information...
SISheogorath committed Mar 9, 2019
2 parents d1b2fb2 + bcb7972 commit 329d39d0d00ce7c15b8b7ad7b9a4e0338835486d
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/config/index.js
@@ -128,7 +128,7 @@ if (config.gitlab && config.gitlab.version !== 'v4' && config.gitlab.version !==
config.gitlab.version = 'v4'
}
// If gitlab scope is api, enable snippets Export/import
config.isGitlabSnippetsEnable = (!config.gitlab.scope || config.gitlab.scope === 'api')
config.isGitlabSnippetsEnable = (!config.gitlab.scope || config.gitlab.scope === 'api') && config.isGitLabEnable

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

0 comments on commit 329d39d

Please sign in to comment.
You can’t perform that action at this time.