summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEllie Huxtable <e@elm.sh>2021-02-13 22:58:31 +0000
committerEllie Huxtable <e@elm.sh>2021-02-13 22:58:31 +0000
commite7d234e305c7c0d6040f1b69eaf70f10e2550042 (patch)
treed3489bbf148c6544469758e95eec8cda7841eee8
parentb85cb770d3e219e183cec68ed29d76d143599098 (diff)
Remove panic
-rw-r--r--Cargo.lock2
-rw-r--r--Cargo.toml2
-rw-r--r--src/main.rs6
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 <e@elm.sh>"]
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()
}