Skip to content

Commit

Permalink
Revert "[chore] use PathInfo consistently" (#4003)
Browse files Browse the repository at this point in the history
This reverts commit 71c8c59.
  • Loading branch information
MangoIV authored Apr 16, 2024
1 parent 5293202 commit 1f239ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/bin/Sbom.hs
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ discoverSBom :: FilePath -> MetaDB -> IO SBom
discoverSBom outP metaDb = do
canonicalOutP <- canonicalizePath =<< getSymbolicLinkTarget outP
info <- pathInfo canonicalOutP
let go :: PathInfo -> IO SBom -> IO SBom
let go :: (Text, (Text, [Text])) -> IO SBom -> IO SBom
go (k, (deriver, deps)) = do
let proxyToIdentity :: SBomMeta Proxy -> SBomMeta Identity
proxyToIdentity (MkSBomMeta {..}) = MkSBomMeta {directDeps = Identity deps, outPath = Identity k, ..}
Expand Down

0 comments on commit 1f239ae

Please sign in to comment.