Skip to content

Commit

Permalink
fix: init command uses tmp dir
Browse files Browse the repository at this point in the history
  • Loading branch information
ekkolon committed Feb 12, 2024
1 parent 4dabc9c commit a44e8d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/init.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ impl InitArgs {
}

pub fn run(args: &InitArgs) -> Result<()> {
let workspace_root = current_dir()?.join("tmp");
let workspace_root = current_dir()?;
ensure_config_missing(&workspace_root, LICENSA_CONFIG_FILENAME)?;
let config = args.into_config()?;
save_config(&workspace_root, LICENSA_CONFIG_FILENAME, config)?;
Expand Down

0 comments on commit a44e8d3

Please sign in to comment.