We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eb1f4f2 commit 59bfea3Copy full SHA for 59bfea3
1 file changed
lib/src/GitHubInfo.js
@@ -73,7 +73,7 @@ class GitHubInfo {
73
*/
74
_repo(callback) {
75
return this._executeCommand('git config remote.origin.url', repo => {
76
- const repoPath = matchAll(/([\w-\.]+)\/([\w-\.]+?)(\.git)?$/g, repo);
+ const repoPath = matchAll(/([\w-.]+)\/([\w-.]+?)(\.git)?$/g, repo);
77
78
if (!repoPath[1]) {
79
return Promise.reject('No repo found');
0 commit comments