Skip to content

Fix input path directory handling #1842#2684

Merged
BernieWhite merged 1 commit into
microsoft:mainfrom
BernieWhite:bewhite/fix-directory-input-handling
Dec 21, 2024
Merged

Fix input path directory handling #1842#2684
BernieWhite merged 1 commit into
microsoft:mainfrom
BernieWhite:bewhite/fix-directory-input-handling

Conversation

@BernieWhite

Copy link
Copy Markdown
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
@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