We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a7d23f7 commit 7fd10cdCopy full SHA for 7fd10cd
Utils/New-CommandDataFile.ps1
@@ -56,9 +56,9 @@ Function Get-CmdletDataFileName
56
{
57
$os = 'linux'
58
}
59
- elseif ($IsOSX)
+ elseif ($IsMacOS)
60
61
- $os = 'osx'
+ $os = 'macos'
62
63
# else it is windows, which is already set
64
@@ -112,4 +112,4 @@ Add-Member -InputObject $shortModuleInfo -NotePropertyName 'ExportedAliases' -No
112
113
$allShortModuleInfos = $shortModuleInfos + $shortModuleInfo
114
$jsonData['Modules'] = $allShortModuleInfos
115
-$jsonData | ConvertTo-Json -Depth 4 | Out-File ((Get-CmdletDataFileName)) -Encoding utf8
+$jsonData | ConvertTo-Json -Depth 4 | Out-File ((Get-CmdletDataFileName)) -Encoding utf8
0 commit comments