fixed powershell output format 0u0;

This commit is contained in:
Lynne Megido 2021-06-13 19:24:21 +10:00
parent df9c033b38
commit 95956f8e30
Signed by: lynnesbian
GPG key ID: F0A184B5213D9F90

View file

@ -242,7 +242,7 @@ impl Format for PowerShell {
fn no_known_extension<W: Write>(&self, f: &mut W, path: &Path) -> io::Result<()> { fn no_known_extension<W: Write>(&self, f: &mut W, path: &Path) -> io::Result<()> {
smart_write( smart_write(
f, f,
writables![ writablesln![
"Write-Output @'", "Write-Output @'",
Newline, Newline,
"No known extension for ", "No known extension for ",
@ -256,7 +256,7 @@ impl Format for PowerShell {
fn unreadable<W: Write>(&self, f: &mut W, path: &Path) -> io::Result<()> { fn unreadable<W: Write>(&self, f: &mut W, path: &Path) -> io::Result<()> {
smart_write( smart_write(
f, f,
writables!["Write-Output @'", Newline, "Failed to read ", path, Newline, "'@"], writablesln!["Write-Output @'", Newline, "Failed to read ", path, Newline, "'@"],
) )
} }