feat: update
This commit is contained in:
parent
b86fec2a58
commit
15298f1f96
1407
Cargo.lock
generated
1407
Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@ -39,7 +39,7 @@ tempfile = { version = "3.10.0" }
|
||||
serde_json = "1.0.113"
|
||||
rlua = "0.19.8"
|
||||
rlua-searcher = "0.1.0"
|
||||
dotenv = { version = "0.15.0", features = ["clap"] }
|
||||
dotenvy = { version = "0.15.7" }
|
||||
blake3 = "1.5.0"
|
||||
tokio = { version = "1.36.0", features = ["full"] }
|
||||
futures-util = "0.3.30"
|
||||
|
@ -129,7 +129,7 @@ pub fn execute_init(exe_submatch: &ArgMatches, _cli: CuddleCli) -> anyhow::Resul
|
||||
if dir.count() != 0 {
|
||||
for entry in read_dir(&path)? {
|
||||
let entry = entry?;
|
||||
if entry.file_name() == ".git" {
|
||||
if entry.file_name() == ".git" || entry.file_name() == ".jj" {
|
||||
continue;
|
||||
} else {
|
||||
anyhow::bail!("Directory {} is not empty", &path);
|
||||
|
@ -11,7 +11,7 @@ mod util;
|
||||
|
||||
fn main() -> anyhow::Result<()> {
|
||||
init_logging()?;
|
||||
let _ = dotenv::dotenv();
|
||||
let _ = dotenvy::dotenv();
|
||||
|
||||
let config = CuddleConfig::from_env()?;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user