Skip to content

Commit

Permalink
Fix bug in detect dynamic deb tatic (#1401)
Browse files Browse the repository at this point in the history
* fix deb tatic in detect dynamic
  • Loading branch information
JeffreyHuynh1 authored Apr 16, 2024
1 parent f186595 commit de7bdcd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# FOSSA CLI Changelog

## v3.9.12
- `--detect-dynamic`: Fix deb tatic parsing ([#1401](https://github.com/fossas/fossa-cli/pull/1401)).

## v3.9.11
- Licensing: Add new rules for unity licenses. Add the Redis Source Available License.

Expand Down
2 changes: 1 addition & 1 deletion src/App/Fossa/VSI/DynLinked/Internal/Lookup/DEB.hs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ debTactic root file | runningLinux = do
Nothing -> pure Nothing
Just name -> do
meta <- context ("Parse metadata for package " <> toText (show name) <> ", which owns file " <> toText (show file)) $ packageMeta root name
pure (DynamicDependency file . Just . ResolvedLinuxPackage LinuxPackageManagerRPM <$> meta)
pure (DynamicDependency file . Just . ResolvedLinuxPackage LinuxPackageManagerDEB <$> meta)
debTactic _ _ = pure Nothing

packageForFile :: (Has Diagnostics sig m, Has Exec sig m) => Path Abs Dir -> Path Abs File -> m (Maybe Text)
Expand Down

0 comments on commit de7bdcd

Please sign in to comment.