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.
1 parent cee6bf3 commit e01c9d7Copy full SHA for e01c9d7
extensions/github/src/pushErrorHandler.ts
@@ -166,8 +166,8 @@ export class GithubPushErrorHandler implements PushErrorHandler {
166
return false;
167
}
168
169
- const match = /^https:\/\/github\.com\/([^/]+)\/([^/]+)(?:\.git)?/i.exec(remoteUrl)
170
- || /^git@github\.com:([^/]+)\/([^/]+)(?:\.git)?/i.exec(remoteUrl);
+ const match = /^https:\/\/github\.com\/([^/]+)\/([^/]+)\.git/i.exec(remoteUrl)
+ || /^git@github\.com:([^/]+)\/([^/]+)\.git/i.exec(remoteUrl);
171
172
if (!match) {
173
0 commit comments