Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions runme.js
Original file line number Diff line number Diff line change
Expand Up @@ -1350,7 +1350,7 @@ var getGithubUrl = function(callback) {
var stdout = childproc.execSync(cmd, { encoding: 'utf8' });
//console.log("Got the following Github URL:", stdout);

var re = /.*github.com:/i;
var re = /.*github.com/i;
var url = stdout.replace(re, "");
url = url.replace(/.git[\s\S]*$/i, ""); // remove end

Expand All @@ -1370,4 +1370,4 @@ var getGithubUrl = function(callback) {

}

init();
init();