-
Notifications
You must be signed in to change notification settings - Fork 164
New issue
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
feat(extension): also allow .yaml file format #735
feat(extension): also allow .yaml file format #735
Conversation
cc @anderssonjohan and @decyjphr if you have time to have a look |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds support for repository override configuration using the .yaml file format in addition to the existing .yml format.
- Updated retrieval of repo override configuration in lib/settings.js to support .yaml files.
- Added unit tests for both .yaml and .yml configurations in test/unit/lib/settings.test.js.
- README.md still incorrectly documents support only for the .yml extension.
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
File | Description |
---|---|
test/unit/lib/settings.test.js | Added tests to verify repository override configuration for .yaml files. |
lib/settings.js | Updated repo override config lookup to include .yaml and modified its usage. |
README.md | Documentation remains inconsistent with the code changes. |
Comments suppressed due to low confidence (1)
README.md:32
- Documentation conflicts with code changes; the code now supports .yaml files, but README indicates that .yaml is ignored.
Settings files must have a `.yml` extension only. For now, the `.yaml` extension is ignored.
Tip: Copilot code review supports C#, Go, Java, JavaScript, Markdown, Python, Ruby and TypeScript, with more languages coming soon. Learn more
Fixes #700.