Fix PowerShell param() ordering in protected-paths.ps1 #4676
ccantynzcommented Mar 20, 2026
Originally written by @vercel[bot] on GitHub.
The latest updates on your projects. Learn more about Vercel for GitHub.
| Project | Deployment | Actions | Updated (UTC) |
|---|---|---|---|
| dominat8com | Mar 20, 2026 2:17am |
Files changed
Side-by-side diff for copilot/fix-protected-paths → main.
Cross-repo impact
See what breaks downstream if this PR merges.
Risk score: LOW (2/10)18a2464
Touches 1 file(s) with 3 added and 3 removed across 0 owner(s). Includes a new dependency. No tests were added for the new code.
See full signal breakdown
- files changed: 1
- lines added/removed: 3 / 3
- distinct owners touched: 0
- schema migration touched: no
- locked / sensitive path touched: no
- adds new dependency: yes
- bumps major dependency: no
- tests added for new code: no
- diff-minus-test ratio: 1.00
How is this calculated? The score is a transparent sum of weighted signals — see
src/lib/pr-risk.ts computePrRiskScore.Gate checks
All 6 checks passedGateTestDisabled in settingsSkipped
Secret scanNo secrets detectedPassed
Security scanStatic rules ran (8 checks, no AI required) — no static findings. AI review unavailable: The platform's AI balance is exhausted, so AI generation is temporarily unavailable. Nothing was lost. You can queue this as a repair for the internal agent from the repository's Health page, or try again once the balance is restored.Skipped
Merge checkClean merge possiblePassed
CINo CI workflows are configured for this repositorySkipped
AI ReviewAIAI review approvedPassed
c comment · e edit title · m merge · a approve · r request changes · ? shortcuts
Originally written by @Copilot on GitHub.
Imported from https://github.com/ccantynz-alt/Dominat8.com/pull/26
What changed?
param()must be the first executable statement in a PowerShell script.Set-StrictModeand$ErrorActionPreferencepreceded it, causing aParserErroron every PR:Moved
param()aboveSet-StrictMode/$ErrorActionPreference.Quality gates (must be green)
Notes / risks
None — pure statement reorder, no logic change.
📍 Connect Copilot coding agent with Jira, Azure Boards or Linear to delegate work to Copilot in one click without leaving your project management tool.