diff options
-rw-r--r-- | src/repository/repository.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/repository/repository.rs b/src/repository/repository.rs index 8dee4cb..45c4604 100644 --- a/src/repository/repository.rs +++ b/src/repository/repository.rs @@ -144,7 +144,8 @@ impl Repository { // Map all `Value`s to String and then join them on the path that is relative to // the root directory of the repository. - .map(|patch| patch.into_str().map_err(Error::from)) + .map(config::Value::into_str) + .map_err(Error::from) .map_ok(|patch| path_relative_to_root.join(patch)) .inspect(|patch| trace!("Patch relative to root: {:?}", patch.as_ref().map(|p| p.display()))) |