GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — fix: Fixing issues with commands introduced in #403 by jdalrymple · Pull Request #440 · all-contributors/cli Conversation
|
| const contributions = argv._[2] | ||
|
|
||
| // Add or update contributor in the config file | ||
| const data = updateContributors(argv, username, contributions) |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Primary issue
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Also another thing i missed in that original PR. I forgot the await here.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Ahh perfect. Justin, we can merge this FIRST, and then I'll rebase my tests pr against it.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Thats what i was thinking!
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| const argv = getArgs() | ||
|
|
||
| // Load and merge config file data into argv | ||
| try { |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Secondary issue
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
tldr; Original PR removed the .config prop of the yargs method because the docs mentioned it didnt support async functions.
What i forgot to do apparently, it replace it properly, so the config wasnt loaded like it should have been. This change fixes that correctly by loading the config on execution of the cli command.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| chalk.bold('Missing contributors in .all-contributorsrc:\n'), | ||
| YoctoColors.bold('Missing contributors in .all-contributorsrc:\n'), | ||
| ) | ||
| process.stdout.write(` ${missingInConfig.join(', ')}\n`) |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
We were indenting missing members, but not unknown members. It looked weird, so i removed the indent
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
@jdalrymple, everything here looks good to me, and it runs locally 🎉 🎉 You also simplified the configData /. argv load complexity, which works well, and the config params load locally as expected!
Because we are introducing a different dependency, I just want @JoshuaKGoldberg to have a look, but the CLI runs great with this pr.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@all-contributors please add @jdalrymple code, bug |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@jdalrymple already contributed before to code, bug |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Ok, let's merge this @jdalrymple only because it's blocking a few other pr's and I'd love to continue to work on tests. We can always re-evaluate the dependency update, but as far as I can tell, it's a smaller package and doens't impact how the CLI works, just color ranges, etc. Thank you again for it!! |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Just noting here that we are probably missing some contribution acknowledgements for @jdalrymple. @jdalrymple you have been quite active, would you like to join the maintainer team? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Heya @JimMadge 👋🏻 Please do add Justin for any contributions we've missed!! I added them to our maintainer team and org, but I just noticed the invitation expired (7 days ago), so I reopened it. I don't think we can add a maintainer to a team until they are an org member. What I realized when I saw this post is that I didn't do it publicly - it was kind of like what you did here in an issue. Should we create a process for notifying the team? maybe in a discussion? There is so much to do here, and I just thought Justin would be an awesome addition, with the goal that it's ok if we all get busy at times, because our team is large enough to support that. ✨ |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.