From 35df3174c9bea0eb600b6ac0d4e1468c05f7e135 Mon Sep 17 00:00:00 2001 From: Roey Darwish Dror Date: Wed, 7 Apr 2021 13:32:58 +0300 Subject: [PATCH] Clippy --- src/steps/powershell.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/steps/powershell.rs b/src/steps/powershell.rs index 07f1fcd3..2b978fe4 100644 --- a/src/steps/powershell.rs +++ b/src/steps/powershell.rs @@ -3,7 +3,9 @@ use crate::executor::CommandExt; use crate::terminal::{is_dumb, print_separator}; use crate::utils::{require_option, which, PathExt}; use anyhow::Result; -use std::path::{Path, PathBuf}; +#[cfg(windows)] +use std::path::Path; +use std::path::PathBuf; use std::process::Command; pub struct Powershell {