From 466ac02e575659b2e2b9032c121f5acbc14f8dac Mon Sep 17 00:00:00 2001 From: containerscrew <131241415+containerscrew@users.noreply.github.com> Date: Fri, 17 Nov 2023 20:10:27 +0100 Subject: [PATCH] Fix warnings --- src/commands/config.rs | 6 +++--- src/utils.rs | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/commands/config.rs b/src/commands/config.rs index e4e71cb..74dd7c0 100644 --- a/src/commands/config.rs +++ b/src/commands/config.rs @@ -1,9 +1,9 @@ use crate::utils::extend_path; use serde::{Deserialize, Serialize}; -use std::fs::{File, OpenOptions}; -use std::io::{BufRead, Write}; +use std::fs::{OpenOptions}; +use std::io::{Write}; use std::process::exit; -use std::{fs, io}; + use tracing::{error, info}; // The name of the file and directory for the configuration will not be custom by the moment diff --git a/src/utils.rs b/src/utils.rs index 184d2de..da37c14 100644 --- a/src/utils.rs +++ b/src/utils.rs @@ -1,12 +1,12 @@ -use crate::commands::config::{CONFIG_FILE_PATH, CREDENTIALS_FILE_PATH}; +use crate::commands::config::{CREDENTIALS_FILE_PATH}; use aws_sso_auth::AccountCredentials; use colored::Colorize; use configparser::ini::Ini; use log::{error, info}; -use std::fs::{File, OpenOptions}; + use std::io; -use std::io::{Read, Write}; -use std::process::exit; +use std::io::{Write}; + pub fn print_banner() { let banner = r#"