mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
@@ -153,7 +153,7 @@ namespace Microsoft.PowerShell.Commands
|
||||
|
||||
foreach (object item in propertyValueItems)
|
||||
{
|
||||
sb.Append(CultureInfo.InvariantCulture, $"{item}, ");
|
||||
sb.AppendFormat(CultureInfo.CurrentCulture, $"{item}, ");
|
||||
}
|
||||
|
||||
sb = sb.Length > length ? sb.Remove(sb.Length - 2, 2) : sb;
|
||||
@@ -161,7 +161,7 @@ namespace Microsoft.PowerShell.Commands
|
||||
}
|
||||
else
|
||||
{
|
||||
sb.Append(CultureInfo.InvariantCulture, $"{propValuePropertyValue}, ");
|
||||
sb.AppendFormat(CultureInfo.CurrentCulture, $"{propValuePropertyValue}, ");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user