Skip to content

Commit

Permalink
fix: compilation (bad merge)
Browse files Browse the repository at this point in the history
  • Loading branch information
blackheaven committed Aug 15, 2024
1 parent a35bfe7 commit 6890c2d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import Control.Carrier.Lift (runM)
import Control.Effect.Pretty (PrettyC, runPretty)
import Control.Monad.Codensity (Codensity (Codensity))
import Control.Monad.IO.Class (MonadIO (liftIO))
import Data.Base64.Types (extractBase64)
import Data.ByteString (ByteString)
import qualified Data.ByteString.Char8 as B
import Data.ByteString.Lazy.Base64 (encodeBase64)
Expand Down Expand Up @@ -183,7 +184,7 @@ sendAdvisories ghContext packageAdvisories = do
ghData =
[ "ref" := ghContext.ref,
"commit_sha" := ghContext.commitSha,
"sharif" := encodeBase64 (compress $ encodeSarifAsLBS defaultLog {logRuns = [run]}),
"sharif" := extractBase64 (encodeBase64 $ compress $ encodeSarifAsLBS defaultLog {logRuns = [run]}),
"tool_name" := ("github-action-scan" :: Text),
"validate" := True
]
Expand Down

0 comments on commit 6890c2d

Please sign in to comment.