Skip to content

Commit

Permalink
fixed ares-package default output dir
Browse files Browse the repository at this point in the history
  • Loading branch information
mariotaku committed Aug 27, 2024
1 parent dc42dad commit 420ba62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ares-package/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ fn main() {
let app_dir = cli.app_dir;
let outdir = cli
.outdir
.or_else(|| app_dir.parent().map(|p| p.to_path_buf()))
.or_else(|| std::env::current_dir().ok())
.expect("Invalid output directory");

let data = DataInfo::from_input(&app_dir, &cli.service_dir, &cli.app_exclude).unwrap();
Expand Down

0 comments on commit 420ba62

Please sign in to comment.