Skip to content
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

fix: Allow YAML files to have no extension #35

Merged
merged 1 commit into from
Sep 28, 2021

Conversation

abtreece
Copy link
Owner

The file extension wasn't used previously to determine if a file was yaml.
So the addition of JSON and thus checking of extensions introduced a
scenario where yaml files without extension resulted in an error. This
change allows resets the default behavior that a file with no extension
is assumed to be yaml.

Added integration tests to test all three variants

The file extension wasn't used previously to determine if a file was yaml.
So the addition of JSON and thus checking of extensions introduced a
scenario where yaml files without extension resulted in an error. This
change allows resets the default behavior that a file with no extension
is assumed to be yaml.

Added integration tests to test all three variants
@abtreece abtreece added the bug Something isn't working label Sep 28, 2021
@abtreece abtreece merged commit 164b128 into master Sep 28, 2021
@abtreece abtreece deleted the add-noext-for-yaml-files branch September 28, 2021 21:26
abtreece added a commit that referenced this pull request Sep 29, 2021
The file extension wasn't used previously to determine if a file was yaml.
So the addition of JSON and thus checking of extensions introduced a
scenario where yaml files without extension resulted in an error. This
change allows resets the default behavior that a file with no extension
is assumed to be yaml.

Added integration tests to test all three variants
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant