mirror of
https://github.com/atuinsh/atuin.git
synced 2025-02-16 10:30:44 +01:00
Remove panic
This commit is contained in:
parent
b85cb770d3
commit
e7d234e305
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -49,7 +49,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "atuin"
|
||||
version = "0.2.3"
|
||||
version = "0.2.4"
|
||||
dependencies = [
|
||||
"chrono",
|
||||
"directories",
|
||||
|
@ -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"
|
||||
|
@ -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()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user