Skip to content

Commit 8a4f774

Browse files
Fix updater lint warning
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
1 parent ce07e35 commit 8a4f774

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/scripts/Update-GitHubActionPins.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,8 @@ Get-ChildItem -LiteralPath $root -Recurse -File -Include '*.yml', '*.yaml' | For
8686
param($match)
8787

8888
$action = $match.Groups['action'].Value
89-
if ($action.StartsWith('./', [System.StringComparison]::Ordinal) -or $action.StartsWith('docker://', [System.StringComparison]::OrdinalIgnoreCase)) {
89+
if ($action.StartsWith('./', [System.StringComparison]::Ordinal) -or
90+
$action.StartsWith('docker://', [System.StringComparison]::OrdinalIgnoreCase)) {
9091
return $match.Value
9192
}
9293

0 commit comments

Comments
 (0)