Skip to content

Commit 3338e33

Browse files
committed
Insignificant change
1 parent 4110f74 commit 3338e33

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/App/Fossa/Analyze/Upload.hs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,10 +124,8 @@ uploadSuccessfulAnalysis (BaseDir basedir) metadata jsonOutput revision scanUnit
124124
let branchText = fromMaybe "No branch (detached HEAD)" $ projectBranch revision
125125
logInfo ("Using branch: `" <> pretty branchText <> "`")
126126

127-
let snippetResults = snippetScanResults =<< ficusResults
128-
129127
uploadResult <- case scanUnits of
130-
SourceUnitOnly units -> uploadAnalysis revision metadata units snippetResults
128+
SourceUnitOnly units -> uploadAnalysis revision metadata units (snippetScanResults =<< ficusResults)
131129
LicenseSourceUnitOnly licenseSourceUnit -> do
132130
let mergedUnits = mergeSourceAndLicenseUnits [] licenseSourceUnit
133131
runStickyLogger SevInfo . uploadAnalysisWithFirstPartyLicensesToS3AndCore revision metadata mergedUnits ficusResults $ orgFileUpload org

0 commit comments

Comments
 (0)