mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Correct formatting in PSVersionInfo (#3694)
This commit is contained in:
@@ -73,7 +73,7 @@ namespace System.Management.Automation
|
||||
s_psVersionTable[PSVersionInfo.WSManStackVersionName] = GetWSManStackVersion();
|
||||
s_psVersionTable[PSPlatformName] = Environment.OSVersion.Platform.ToString();
|
||||
#if CORECLR
|
||||
s_psVersionTable[PSCLRVersionName] = null;
|
||||
s_psVersionTable[PSCLRVersionName] = null;
|
||||
s_psVersionTable[PSOSName] = Runtime.InteropServices.RuntimeInformation.OSDescription.ToString();
|
||||
#else
|
||||
s_psVersionTable[PSCLRVersionName] = Environment.Version;
|
||||
|
||||
Reference in New Issue
Block a user