From e7d234e305c7c0d6040f1b69eaf70f10e2550042 Mon Sep 17 00:00:00 2001 From: Ellie Huxtable Date: Sat, 13 Feb 2021 22:58:31 +0000 Subject: Remove panic --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/main.rs | 6 ------ 3 files changed, 2 insertions(+), 8 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 2914a895..e83a4ff0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -49,7 +49,7 @@ dependencies = [ [[package]] name = "atuin" -version = "0.2.3" +version = "0.2.4" dependencies = [ "chrono", "directories", diff --git a/Cargo.toml b/Cargo.toml index b224ce65..942a200e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "atuin" -version = "0.2.3" +version = "0.2.4" authors = ["Ellie Huxtable "] edition = "2018" license = "MIT" diff --git a/src/main.rs b/src/main.rs index 86540a97..920cd0a3 100644 --- a/src/main.rs +++ b/src/main.rs @@ -85,11 +85,5 @@ impl Atuin { fn main() -> Result<()> { pretty_env_logger::init(); - let session = env::var("ATUIN_SESSION"); - - if session.is_err() { - panic!("Please follow the atuin setup! Missing session.") - } - Atuin::from_args().run() } -- cgit v1.3.1