fix: 🐛 Fix clippy warnings for Windows

This commit is contained in:
Sergio Gasquez 2022-10-05 13:01:00 +02:00
parent bc4e620e56
commit f2ab6e13cf
2 changed files with 1 additions and 5 deletions

View File

@ -1,4 +1,4 @@
use anyhow::Result;
use anyhow::{bail, Result};
use clap::Parser;
use embuild::espidf::{parse_esp_idf_git_ref, EspIdfRemote};
use espup::{

View File

@ -1,12 +1,8 @@
use crate::emoji;
#[cfg(windows)]
use crate::targets::Target;
use anyhow::{bail, Result};
use dirs::home_dir;
use flate2::bufread::GzDecoder;
use log::info;
#[cfg(windows)]
use std::collections::HashSet;
use std::{
fs::{create_dir_all, File},
io::{copy, BufReader},