We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I found it very unexpected that config.getConfig[From] returns null (usually meaning that no config file could be found) if a config file was found.
config.getConfig[From]
Especially because there are config formats where an empty file is valid (yaml, toml).
Just parse the file, an empty json config file would throw a parse error (which would be fine/correct).
Null is returned
Remove this line
parcel/packages/core/utils/src/config.js
Line 85 in b9426b8
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
🐛 bug report
I found it very unexpected that
config.getConfig[From]
returns null (usually meaning that no config file could be found) if a config file was found.Especially because there are config formats where an empty file is valid (yaml, toml).
🤔 Expected Behavior
Just parse the file, an empty json config file would throw a parse error (which would be fine/correct).
😯 Current Behavior
Null is returned
💁 Possible Solution
Remove this line
parcel/packages/core/utils/src/config.js
Line 85 in b9426b8
🌍 Your Environment
The text was updated successfully, but these errors were encountered: