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

Better algorithm for determining file extension #1961

Closed
wants to merge 1 commit into from

Conversation

aj-sykes92
Copy link

@aj-sykes92 aj-sykes92 commented May 15, 2024

Adjusted snapshot_meta helper function to adjust check for presence of file extension in files argument. Fixes issue where periods in file name are mistaken for file extension. Fixes #1579.

Implicitly assumes snapshot file extension will be .md or nothing, but based on review of the function I think this is valid.

Adjusted snapshot_meta helper function to adjust check for presence of file extension in `files` argument. Fixes issue where periods in file name are mistaken for signifying file extension (r-lib#1579).
@hadley hadley added this to the v3.2.2 milestone Oct 22, 2024
@hadley hadley changed the title Fix #1579 Better algorithm for determining file extension Oct 24, 2024
@hadley
Copy link
Member

hadley commented Oct 24, 2024

Unfortunately if you look at the failing tests, you can see that assumption is not true 😞

@hadley hadley closed this Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

snapshot_review() says "no snapshots to update" when there are files that have changed
2 participants