fixed powershell output format 0u0;
This commit is contained in:
parent
df9c033b38
commit
95956f8e30
1 changed files with 2 additions and 2 deletions
|
@ -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, "'@"],
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue