fixed powershell output
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Lynne Megido 2021-04-20 19:00:56 +10:00
parent 255665cae0
commit 4d553587aa
Signed by: lynnesbian
GPG Key ID: F0A184B5213D9F90
2 changed files with 2 additions and 1 deletions

View File

@ -11,6 +11,7 @@ Dates are given in YYYY-MM-DD format.
- [`xdg-mime`] no longer uses git version
- Output is sorted: Files that couldn't be read, then files with no known mimetype, then files with no known extensions,
then files with the wrong extension
- Fixed some bad formatting in PowerShell output
### v0.2.12 (2021-04-14)
#### Features

View File

@ -226,7 +226,7 @@ impl Format for PowerShell {
fn unknown_type<W: Write>(&self, f: &mut W, path: &Path) -> io::Result<()> {
smart_write(
f,
&["<# Failed to detect mime type for ".into(), path.into(), "#>".into()],
&["<# Failed to detect mime type for ".into(), path.into(), "#>".into(), Writable::Newline],
)
}