forked from lix-project/lix
Apply suggestion
Co-authored-by: John Ericson <git@JohnEricson.me>
This commit is contained in:
parent
99d5204baa
commit
61b76f5f34
|
@ -27,7 +27,7 @@ StorePath InputAccessor::fetchToStore(
|
|||
{"path", path.abs()}
|
||||
};
|
||||
if (auto res = fetchers::getCache()->lookup(*cacheKey)) {
|
||||
StorePath storePath(fetchers::getStrAttr(*res, "storePath"));
|
||||
StorePath storePath{fetchers::getStrAttr(*res, "storePath")};
|
||||
if (store->isValidPath(storePath)) {
|
||||
debug("store path cache hit for '%s'", showPath(path));
|
||||
return storePath;
|
||||
|
|
Loading…
Reference in a new issue