Fix for new StoreId::new() interface

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
Matthias Beyer 2019-02-15 20:42:14 +01:00
parent 1bbd2173b7
commit 8fb4bcf0c6

View file

@ -133,8 +133,7 @@ impl LinkProcessor {
continue
}
let spath = Some(store.path().clone());
let id = StoreId::new(spath, PathBuf::from(&link.link))?;
let id = StoreId::new(PathBuf::from(&link.link))?;
let mut target = if self.create_internal_targets {
store.retrieve(id)?
} else {