commit: | a0d20db7118301673ae49498e8f41cea58f7071c |
author: | Trevor Bentley |
committer: | Trevor Bentley |
date: | Wed Jan 15 00:01:59 2025 +0100 |
parents: | fe81abfdac33a53b7446b6abbc0a610978879d62 |
diff --git a/src/settings.rs b/src/settings.rs line changes: +1/-1 index 7af7d46..a2e970b --- a/src/settings.rs +++ b/src/settings.rs
@@ -281,7 +281,7 @@ impl GitsySettingsOutputs { let asset_path = substitute_path_vars(&tmpl_path, parsed_repo, Some(self)); let full_path = match repo { Some(repo) => { - let mut full_path = repo.path().to_owned(); + let mut full_path = repo.workdir().map(|p| p.to_owned()).unwrap_or_default(); full_path.push(asset_path); full_path },