mirror of
https://github.com/scratchfoundation/gh-pages.git
synced 2024-11-24 16:28:02 -05:00
Don't assume options.remote is 'origin'
This commit is contained in:
parent
f3f79732c2
commit
c042fc444a
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue