We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3a857a3 + f728fdb commit 72894d1Copy full SHA for 72894d1
lib/config/index.js
@@ -104,8 +104,8 @@ config.isOAuth2Enable = config.oauth2.clientID && config.oauth2.clientSecret
104
config.isPDFExportEnable = config.allowPDFExport
105
106
// Check gitlab api version
107
-if (config.gitlab.version !== 'v4' || config.gitlab.version !== 'v3') {
108
- logger.warn('config.js contains wrong version (' + config.gitlab.version + ') for gitlab api; it should be \'v3\' or \'v4\'. Defaulting to v3')
+if (config.gitlab.version !== 'v4' && config.gitlab.version !== 'v3') {
+ logger.warn('config.js contains wrong version (' + config.gitlab.version + ') for gitlab api; it should be \'v3\' or \'v4\'. Defaulting to v4')
109
config.gitlab.version = 'v4'
110
}
111
0 commit comments