Skip to content

Commit

Permalink
fix: resolve output_path no longer requires file to be already be their
Browse files Browse the repository at this point in the history
  • Loading branch information
bierbaumtim committed Jun 28, 2024
1 parent c2f0fde commit 50dbde8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ fn resolve_output_path(path: &PathBuf) -> Result<PathBuf, String> {
.map(|d| d.join(path))
.map_err(|e| format!("Relative path not supported due to following error: \"{e:?}\""))
} else {
path.canonicalize()
std::path::absolute(path)
.map_err(|e| format!("Could not resolve output path due to following error: \"{e:?}\""))
}
}
Expand Down

0 comments on commit 50dbde8

Please sign in to comment.