mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
fixed typo
This commit is contained in:
@@ -101,7 +101,8 @@ namespace PSTests
|
||||
File.Create(path);
|
||||
}
|
||||
// Create a file to write to using StreamWriter.
|
||||
// convert string to stream. On Windows, this appears to be handled, but on *nix, we apparently need to convert to UTF8.
|
||||
// convert string to stream. On Windows, this appears to be handled, but on *nix,
|
||||
// we apparently need to convert to UTF8.
|
||||
byte[] byteArray = System.Text.Encoding.UTF8.GetBytes(path);
|
||||
MemoryStream stream = new MemoryStream(byteArray);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user