From aa6b9a99da491f252eb3ccf2a7f30ab2c2bb9e66 Mon Sep 17 00:00:00 2001 From: Cvolton Date: Mon, 9 Dec 2024 11:56:57 +0100 Subject: [PATCH] fix geode profile add --- Cargo.lock | 4 ++-- Cargo.toml | 2 +- src/profile.rs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 5195b95..2222d0e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,6 +1,6 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. -version = 3 +version = 4 [[package]] name = "ab_glyph" @@ -1025,7 +1025,7 @@ dependencies = [ [[package]] name = "geode" -version = "3.3.0" +version = "3.3.1" dependencies = [ "ansi_term", "cfg-if 1.0.0", diff --git a/Cargo.toml b/Cargo.toml index 06b2dc2..d6d614f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "geode" -version = "3.3.0" +version = "3.3.1" authors = [ "HJfod ", "Camila314 ", diff --git a/src/profile.rs b/src/profile.rs index bfe0068..c34a759 100644 --- a/src/profile.rs +++ b/src/profile.rs @@ -219,7 +219,7 @@ pub fn subcommand(cmd: Profile) { location, platform, } => { - let mut config = Config::new().assert_is_setup(); + let mut config = Config::new(); if config.get_profile(&Some(name.to_owned())).is_some() { fail!("A profile named '{}' already exists", name);