HALLELUJAH - v0.1.1 do not panic if .env_chirho is not found
This commit is contained in:
1 parent
2228a95515
commit
96c6a63b07
3 files changed
+6
-3
No files matched your search
Generated
+1
-1
@@ -1919,7 +1919,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "rs_machine_input_chirho"
|
||||
version = "0.1.0"
|
||||
version = "0.1.1"
|
||||
dependencies = [
|
||||
"chrono",
|
||||
"clap",
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
# For God so loved the world, that He gave His only begotten Son, that all who believe in Him should not perish but have everlasting life
|
||||
[package]
|
||||
name = "rs_machine_input_chirho"
|
||||
version = "0.1.0"
|
||||
version = "0.1.1"
|
||||
edition = "2021"
|
||||
authors = ["Love Jesus <[email protected]>"]
|
||||
description = "A command-line tool to synchronize computer resource information with a remote database"
|
||||
|
||||
+4
-1
@@ -46,7 +46,10 @@ fn index() -> &'static str {
|
||||
|
||||
#[launch]
|
||||
fn rocket_chirho() -> _ {
|
||||
dotenvy::from_filename(".env_chirho").expect("Failed to load .env file");
|
||||
match dotenvy::from_filename(".env_chirho") {
|
||||
Ok(_) => (),
|
||||
Err(e_chirho) => eprintln!("Likely no .env_chirho file found {}", e_chirho),
|
||||
};
|
||||
|
||||
let cli_chirho = CliChirho::parse();
|
||||
|
||||
|
||||
Reference in new issue
Block a user