mirror of
https://github.com/rschamp/gh-pages.git
synced 2025-11-05 21:51:19 +08:00
Don't assume options.remote is 'origin'
This commit is contained in:
parent
f3f79732c2
commit
c042fc444a
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user