Skip to content

Commit e9ce1e9

Browse files
🩹 [Patch]: Name the helper module after the action (Debug.Helpers) (#32)
Aligns the helper module with the action helper-module naming standard: name it after the action (`Debug.Helpers`) instead of the generic `Helpers`. This action loads the shared framework `Helpers` module (for `LogGroup`) alongside its own helper module, so the generic name collided in the runner's single module session. An action-scoped name removes the clash. ## Changes - `src/Helpers.psm1` → `src/Debug.Helpers.psm1` - Updated the entry-script import in `src/main.ps1`. No runtime logic changed (100% file rename + one import path). ## Validation `Debug.Helpers` imports and exports `Set-MaskedValue`; `main.ps1` parses; PSScriptAnalyzer clean. Action-Test in CI is the full gate. Part of PSModule/Process-PSModule#364. Standard: the "Name helper modules after the action" rule in the GitHub Actions coding standard (MSXOrg/docs#24).
1 parent 4b922ef commit e9ce1e9

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/main.ps1‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ param()
33

44
Install-PSResource -Repository PSGallery -TrustRepository -Name Net
55
Install-PSResource -Repository PSGallery -TrustRepository -Name PublicIP
6-
Import-Module "$PSScriptRoot/Helpers.psm1"
6+
Import-Module "$PSScriptRoot/Debug.Helpers.psm1"
77

88
$CONTEXT_GITHUB = $env:CONTEXT_GITHUB | ConvertFrom-Json -Depth 100
99

0 commit comments

Comments
 (0)