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 input path directory handling #1842 #2684

Merged

Conversation

BernieWhite
Copy link
Member

PR Summary

  • Fixed directory handling of input paths without trailing slash.

Fixes #1842

PR Checklist

  • PR has a meaningful title
  • Summarized changes
  • Change is not breaking
  • This PR is ready to merge and is not Work in Progress
  • Code changes
    • Have unit tests created/ updated
    • Link to a filed issue
    • Change log has been updated with change under unreleased section

@BernieWhite BernieWhite requested a review from a team as a code owner December 21, 2024 15:30
@BernieWhite BernieWhite merged commit 73722c0 into microsoft:main Dec 21, 2024
19 checks passed
@BernieWhite BernieWhite deleted the bewhite/fix-directory-input-handling branch December 21, 2024 15:56
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.

Invoke-PSRule -InputPath treats input as file unless it ends with [System.IO.Path]::DirectorySeparatorChar
1 participant