File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -24,21 +24,21 @@ module.exports = (
2424 : GL_PREFIX
2525 : gitlabApiPathPrefix ;
2626 const userGitlabUrl = gitlabUrl || GL_URL || GITLAB_URL ;
27- const defaultedGitlabToken =
27+ const defaultedGitlabUrl =
2828 userGitlabUrl ||
2929 ( service === 'gitlab' && CI_PROJECT_URL && CI_PROJECT_PATH
3030 ? CI_PROJECT_URL . replace ( new RegExp ( `/${ CI_PROJECT_PATH } $` ) , '' )
3131 : 'https://gitlab.com' ) ;
3232
3333 return {
3434 gitlabToken : GL_TOKEN || GITLAB_TOKEN ,
35- gitlabUrl : defaultedGitlabToken ,
35+ gitlabUrl : defaultedGitlabUrl ,
3636 gitlabApiUrl :
3737 userGitlabUrl && userGitlabApiPathPrefix
3838 ? urlJoin ( userGitlabUrl , userGitlabApiPathPrefix )
3939 : service === 'gitlab' && CI_API_V4_URL
4040 ? CI_API_V4_URL
41- : urlJoin ( defaultedGitlabToken , isNil ( userGitlabApiPathPrefix ) ? '/api/v4' : userGitlabApiPathPrefix ) ,
41+ : urlJoin ( defaultedGitlabUrl , isNil ( userGitlabApiPathPrefix ) ? '/api/v4' : userGitlabApiPathPrefix ) ,
4242 assets : assets ? castArray ( assets ) : assets ,
4343 } ;
4444} ;
You can’t perform that action at this time.
0 commit comments