From c042fc444a858385c91a20a37cc8c29df478af6c Mon Sep 17 00:00:00 2001 From: Marco Castelluccio Date: Wed, 14 Oct 2015 03:03:59 +0200 Subject: [PATCH] Don't assume options.remote is 'origin' --- lib/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/index.js b/lib/index.js index 708467d..46a35d4 100644 --- a/lib/index.js +++ b/lib/index.js @@ -39,7 +39,7 @@ function getRepo(options) { if (options.repo) { return Q.resolve(options.repo); } else { - return getRemoteUrl(process.cwd(), 'origin'); + return getRemoteUrl(process.cwd(), options.remote); } }