Skip to content

Comments

ensure backslashes in prefix are preserved in list.files hook#10596

Merged
kevinushey merged 4 commits intoprairie-trilliumfrom
bugfix/windows-list-files-preserve-slashes
Feb 14, 2022
Merged

ensure backslashes in prefix are preserved in list.files hook#10596
kevinushey merged 4 commits intoprairie-trilliumfrom
bugfix/windows-list-files-preserve-slashes

Conversation

@kevinushey
Copy link
Contributor

Intent

Addresses #10573.

Approach

Ensure that we don't mutate separators within the user-provided path prefix, and ensure we use forward-slashes for any path components constructed following the path prefix.

Automated Tests

Automated tests updated.

QA Notes

Test via notes in:

#10573
#10591

Checklist

  • If this PR adds a new feature, or fixes a bug in a previously released version, it includes an entry in NEWS.md
  • If this PR adds or changes UI, the updated UI meets accessibility standards
  • A reviewer is assigned to this PR (if unsure who to assign, check Area Owners list)
  • This PR passes all local unit tests

@kevinushey kevinushey requested a review from jgutman February 14, 2022 19:38
Copy link
Contributor

@jgutman jgutman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙃

@kevinushey kevinushey merged commit 95d7795 into prairie-trillium Feb 14, 2022
@kevinushey kevinushey deleted the bugfix/windows-list-files-preserve-slashes branch February 14, 2022 20:13
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.

2 participants