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 — feat: use Prettier to write config file, if possible by JoshuaKGoldberg · Pull Request #356 · all-contributors/cli Conversation
Contributor
What: If the user has the Why: See #347. How: Adds
Checklist:
Are
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Berkmann18
approved these changes
Member
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Contributor
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Member
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
|
There was an error while loading. Please reload this page.
|
Not sure it's fully related (I'm still investigating) but when passing from 6.25.0 to 6.26.0 of the project the command UPDATE 1 No issue with version 6.25.1. Issue starts at 6.26.0. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| ) | ||
| } | ||
| return pify(fs.writeFile)(configPath, `${JSON.stringify(content, null, 2)}\n`) | ||
| return pify(fs.writeFile)(configPath, `${formatConfig(content)}\n`) |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
It seems that we pass the content as config, no?
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.
Here we are replacing this code by JSON.stringify(undefined, null, 2)
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.
🌷🌷
Sorry, something went wrong.
There was an error while loading. Please reload this page.
The change all-contributors#356 seem to break the formatting of the file .all-contributorsrc. Instead of formatting the content, it formats "undefined". See: - all-contributors#356 (comment) - all-contributors#356 (comment)
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.