File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -60,10 +60,8 @@ class GitLab extends GitHub {
6060 }
6161 prUrl ( branch ) {
6262 //https://docs.gitlab.com/ee/api/merge_requests.html#create-mr
63- // doesn't support yet, require target_branch, title to supply further
63+ //`${this.baseUrl}/merge-requests/new?source_branch=${branch}& target_branch=${????}& title=${????}`
6464 throw new Error ( `doesn't support Merge Request from URL in gitlab provider yet` ) ;
65- //TODO
66- //return `${this.baseUrl}/merge-requests/new?source_branch=${branch}&target_branch=${????}&title=${????}`;
6765 }
6866}
6967
@@ -103,7 +101,6 @@ const providers = {
103101 * @return {BaseProvider|null }
104102 */
105103function gitProvider ( remoteUrl ) {
106- console . log ( providerType ) ;
107104 const gitUrl = gitUrlParse ( remoteUrl ) ;
108105 for ( const domain of Object . keys ( providers ) ) {
109106 if ( domain === gitUrl . resource || domain === gitUrl . source ) {
You can’t perform that action at this time.
0 commit comments