We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5865c5f commit d6b58a4Copy full SHA for d6b58a4
src/gren.js
@@ -755,8 +755,8 @@ function createChangelog(gren, body) {
755
*/
756
function generateOptions(options) {
757
return Promise.all([
758
- options.repo ? Promise.resolve(options.repo) : githubInfo.repo(),
759
- options.token ? Promise.resolve(options.token) : githubInfo.token()
+ options.username && options.repo ? Promise.resolve({ username: options.username, repo: options.repo }) : githubInfo.repo(),
+ options.token ? Promise.resolve({ token: options.token }) : githubInfo.token()
760
]);
761
}
762
0 commit comments