Skip to content

Commit 71be7a5

Browse files
committed
remove TODO comment
1 parent e351691 commit 71be7a5

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/gitProvider.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff 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
*/
105103
function 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) {

0 commit comments

Comments
 (0)