Browse Source

HALLELUJAH - v0.1.1 do not panic if .env_chirho is not found

main_chirho
LoveJesus 3 months ago
parent
commit
96c6a63b07
3 changed files with 6 additions and 3 deletions
  1. +1
    -1
      Cargo.lock
  2. +1
    -1
      Cargo.toml
  3. +4
    -1
      src/main.rs

+ 1
- 1
Cargo.lock View File

@ -1919,7 +1919,7 @@ dependencies = [
[[package]]
name = "rs_machine_input_chirho"
version = "0.1.0"
version = "0.1.1"
dependencies = [
"chrono",
"clap",


+ 1
- 1
Cargo.toml View File

@ -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
src/main.rs View File

@ -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();


Loading…
Cancel
Save