Skip to content

fix(decompress): Fix Split-Path -LeafBase in PS5#4639

Merged
niheaven merged 2 commits intodevelopfrom
fix-nested-zstd
Jan 10, 2022
Merged

fix(decompress): Fix Split-Path -LeafBase in PS5#4639
niheaven merged 2 commits intodevelopfrom
fix-nested-zstd

Conversation

@niheaven
Copy link
Copy Markdown
Member

@niheaven niheaven commented Jan 10, 2022

Description

Split-Path in PowerShell 5 don't have LeafBase switch, so changed Split-Path $Path -LeafBase to strip_ext (fname $Path).

Motivation and Context

Relates to #4608

How Has This Been Tested?

Tested by .\test\bin\test.ps1 in PowerShell 5.1

Checklist:

  • I have read the Contributing Guide.
  • I have updated the documentation accordingly.
  • I have updated the tests accordingly.

@niheaven niheaven changed the title fix(decompress): Fix nested zstd in PS5 fix(decompress): Fix Split-Path -LeafBase in PS5 Jan 10, 2022
@niheaven niheaven merged commit 3ca1b1f into develop Jan 10, 2022
@niheaven niheaven deleted the fix-nested-zstd branch January 10, 2022 06:22
se35710 pushed a commit to se35710/scoop that referenced this pull request Mar 8, 2022
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