Skip to content

fix: upgrade PowerShellBuild to 0.8.1 for PS 5.1 compatibility#13

Closed
Copilot wants to merge 3 commits into
mainfrom
copilot/bugfix-test-fail-5-1
Closed

fix: upgrade PowerShellBuild to 0.8.1 for PS 5.1 compatibility#13
Copilot wants to merge 3 commits into
mainfrom
copilot/bugfix-test-fail-5-1

Conversation

Copilot AI commented Jun 11, 2026

Copy link
Copy Markdown

PowerShellBuild 0.6.1 calls [System.IO.Path]::IsPathFullyQualified(), a .NET Core-only API absent from .NET Framework 4.x, causing the INIT task to fail immediately under PowerShell 5.1.

Changes

  • requirements.psd1: Bump PowerShellBuild from 0.6.10.8.1

PowerShellBuild 0.8.1 explicitly restores PS 5.1 (Desktop edition) compatibility, removing usage of APIs and syntax (IsPathFullyQualified, ternary operators) unavailable on .NET Framework.

Copilot AI linked an issue Jun 11, 2026 that may be closed by this pull request
Copilot AI changed the title [WIP] Fix test failure in version 5.1 fix: upgrade PowerShellBuild to 0.8.1 for PS 5.1 compatibility Jun 11, 2026
Copilot AI requested a review from HeyItsGilbert June 11, 2026 15:17
@github-actions

github-actions Bot commented Jun 11, 2026

Copy link
Copy Markdown

Test Results

  3 files   69 suites   4s ⏱️
 98 tests  96 ✅ 2 💤 0 ❌
297 runs  291 ✅ 6 💤 0 ❌

Results for commit 0588b98.

♻️ This comment has been updated with latest results.

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.

[BUG] Test Fail in 5.1

2 participants