Skip to content

Commit 17b3d07

Browse files
🔧 [CI]: Refactor conditional logic for name assignment in Get-Settings.yml for improved readability
1 parent ebf4366 commit 17b3d07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎.github/workflows/Get-Settings.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ jobs:
131131
RepositoryName = $env:GITHUB_REPOSITORY_NAME
132132
} | Format-List | Out-String
133133
134-
$name = ![string]::IsNullOrEmpty($inputName) ? $name : [string]::IsNullOrEmpty($settings.Name) ? $settings.Name : $env:GITHUB_REPOSITORY_NAME
134+
$name = ![string]::IsNullOrEmpty($inputName) ? $name : ![string]::IsNullOrEmpty($settings.Name) ? $settings.Name : $env:GITHUB_REPOSITORY_NAME
135135
}
136136
137137
$settings = [pscustomobject]@{

0 commit comments

Comments
 (0)