Skip to content

Commit 59bfea3

Browse files
committed
Remove unnecessary escape character
1 parent eb1f4f2 commit 59bfea3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/GitHubInfo.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ class GitHubInfo {
7373
*/
7474
_repo(callback) {
7575
return this._executeCommand('git config remote.origin.url', repo => {
76-
const repoPath = matchAll(/([\w-\.]+)\/([\w-\.]+?)(\.git)?$/g, repo);
76+
const repoPath = matchAll(/([\w-.]+)\/([\w-.]+?)(\.git)?$/g, repo);
7777

7878
if (!repoPath[1]) {
7979
return Promise.reject('No repo found');

0 commit comments

Comments
 (0)