Don't assume options.remote is 'origin'

This commit is contained in:
Marco Castelluccio 2015-10-14 03:03:59 +02:00 committed by Tim Schaub
parent f3f79732c2
commit c042fc444a

View file

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