Skip to content

Commit 090fe8d

Browse files
nficcacaelyn-fossa
andauthored
Tweak Vendetta source dep data format (#1624)
* Tweak Vendetta source dep data format * fixing lint error * update Changelog --------- Co-authored-by: Caelyn McAulay <[email protected]>
1 parent 2a405ae commit 090fe8d

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

Changelog.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
# FOSSA CLI Changelog
2+
## 3.15.1
3+
- A small tweak in format for `--x-vendetta` ([#1624](https://github.com/fossas/fossa-cli/pull/1624))
4+
25
## 3.15.0
36
- Make snippet scanning non-experimental. This PR deprecates `fossa analyze --x-snippet-scan`. Please use `fossa analyze --snippet-scan` instead. ([#1622](https://github.com/fossas/fossa-cli/pull/1622))
47

src/App/Fossa/Ficus/Analyze.hs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -223,10 +223,11 @@ vendoredDepsToSourceUnit deps =
223223
, sourceDepData =
224224
Aeson.object
225225
[ "vendored"
226-
Aeson..= Aeson.object
227-
[ "type" Aeson..= ("directory" :: Text)
228-
, "path" Aeson..= ficusVendoredDependencyPath dep
229-
]
226+
Aeson..= [ Aeson.object
227+
[ "type" Aeson..= ("directory" :: Text)
228+
, "path" Aeson..= ficusVendoredDependencyPath dep
229+
]
230+
]
230231
]
231232
}
232233

0 commit comments

Comments
 (0)