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); } }