Skip to content

Commit

Permalink
Fix missing recipe_dir.join() for git paths
Browse files Browse the repository at this point in the history
  • Loading branch information
gabuzi committed Oct 26, 2024
1 parent a3ae12b commit 9e306a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/source/git_source.rs
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ pub fn git_src(
}
}
// git doesn't support UNC paths, hence we can't use std::fs::canonicalize
let path = dunce::canonicalize(path).map_err(|e| {
let path = dunce::canonicalize(recipe_dir.join(path)).map_err(|e| {
tracing::error!("Path not found on system: {}", e);
SourceError::GitError(format!("{}: Path not found on system", e))
})?;
Expand Down

0 comments on commit 9e306a6

Please sign in to comment.