Skip to content

Commit 3853549

Browse files
committed
fix: do not crash when cli_dir does not exist
1 parent e088078 commit 3853549

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/remote.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ pub fn get_files() -> (String, String) {
1212
sh.change_dir(config_dir.clone());
1313
let _res = sh.current_dir();
1414
let cli_dir = config_dir.join("meetups");
15-
fs::remove_dir_all(cli_dir).unwrap();
15+
let _res = fs::remove_dir_all(cli_dir);
1616

1717
let git_result = cmd!(sh, "git clone https://github.com/rust-basel/meetups.git")
1818
.read()

0 commit comments

Comments
 (0)