diff options
Diffstat (limited to 'src/filestore/path.rs')
-rw-r--r-- | src/filestore/path.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filestore/path.rs b/src/filestore/path.rs index 4de941b..6c7558b 100644 --- a/src/filestore/path.rs +++ b/src/filestore/path.rs @@ -48,7 +48,7 @@ impl StoreRoot { let join = self.0.join(&ap.0); if join.is_file() { - Ok(Some(FullArtifactPath(&self, ap))) + Ok(Some(FullArtifactPath(self, ap))) } else if join.is_dir() { Err(anyhow!("Cannot load non-file path: {}", join.display())) } else { |