-
Notifications
You must be signed in to change notification settings - Fork 42
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
Some types can be formatted upon retrieval using prettier - but if you don't have a .prettierrc and set formatOnSave to false it will still retrieve but the program will still exit with a non-zero code due to the missing .prettierrc fikle.
Expected Behavior
If formatOnSave is set to false I would expect that the program exits with code 0 even if .prettierrc is not present.
Steps To Reproduce
- In
.mcdevrc.jsonsetoptions.formatOnSavetofalseand addquerytometaDataTypes.retrieve - Run a
retrieve - run
echo $?to get the exit code of theretrievecommand - this will be1.
Version
8.0.0
Environment
- OS: Unix
- Node: 20.10.0
- npm: 10.2.3
Participation
- I am willing to submit a pull request for this issue.
Additional comments
I've raised a PR in #2284 - not sure if this is the best way to get eyes on it?