14 lines
345 B
Diff
14 lines
345 B
Diff
diff --git a/lib/prr.js b/lib/prr.js
|
|
index f654142..c1b0e41 100755
|
|
--- a/lib/prr.js
|
|
+++ b/lib/prr.js
|
|
@@ -133,7 +133,7 @@ function determineGitRepo(args, cb) {
|
|
return;
|
|
}
|
|
|
|
- var url = stdout.replace(/\n/, '');
|
|
+ var url = stdout.replace(/\/?\n/, '');
|
|
var gitUser = '';
|
|
var gitRepoName = '';
|
|
|