diff options
author | Cédric Couralet | 2018-11-07 12:12:50 +0000 |
---|---|---|
committer | Cédric Couralet | 2018-11-07 12:30:17 +0000 |
commit | 67f8a64f2b1ea653b567a48ac6aa760b03c7189c (patch) | |
tree | 874d45a71b209e8e598e4568784e364b96d28678 /lib | |
parent | d24fb48f16bff4d0e6b1bfdeffd2b41c7e61a347 (diff) |
Fix menu for github and dropbox
Signed-off-by: Cédric Couralet <cedric.couralet@gmail.com>
Diffstat (limited to '')
-rw-r--r-- | lib/config/index.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/config/index.js b/lib/config/index.js index f8b68e30..501fdca3 100644 --- a/lib/config/index.js +++ b/lib/config/index.js @@ -110,6 +110,8 @@ if (config.gitlab && config.gitlab.version !== 'v4' && config.gitlab.version !== logger.warn('config.js contains wrong version (' + config.gitlab.version + ') for gitlab api; it should be \'v3\' or \'v4\'. Defaulting to v4') config.gitlab.version = 'v4' } +// If gitlab scope is api, enable snippets Export/import +config.isGitlabSnippetsEnable = (!config.gitlab.scope || config.gitlab.scope === 'api') // Only update i18n files in development setups config.updateI18nFiles = (env === Environment.development) |