mirror of
https://github.com/scratchfoundation/gh-pages.git
synced 2024-11-25 00:38:07 -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) {
|
if (options.repo) {
|
||||||
return Q.resolve(options.repo);
|
return Q.resolve(options.repo);
|
||||||
} else {
|
} else {
|
||||||
return getRemoteUrl(process.cwd(), 'origin');
|
return getRemoteUrl(process.cwd(), options.remote);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue