mirror of
https://github.com/github/spec-kit.git
synced 2026-03-17 10:53:08 +00:00
Applying review recommendations
This commit is contained in:
@@ -163,7 +163,7 @@ function Resolve-Template {
|
||||
$presets = $registryData.presets
|
||||
if ($presets) {
|
||||
$sortedPresets = $presets.PSObject.Properties |
|
||||
Sort-Object { if ($_.Value.priority) { $_.Value.priority } else { 10 } } |
|
||||
Sort-Object { if ($null -ne $_.Value.priority) { $_.Value.priority } else { 10 } } |
|
||||
ForEach-Object { $_.Name }
|
||||
}
|
||||
} catch {
|
||||
|
||||
Reference in New Issue
Block a user