Skip to content

Commit

Permalink
fix: artifact location uri scheme
Browse files Browse the repository at this point in the history
  • Loading branch information
blackheaven committed Aug 18, 2024
1 parent 4bde15f commit 85410a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ sendAdvisories cliOptions projectRoot packageAdvisories = do
MkLocation $
Just $
MkPhysicalLocation
{ physicalLocationArtifactLocation = MkArtifactLocation $ T.pack ("uri:///" <> projectRoot),
{ physicalLocationArtifactLocation = MkArtifactLocation $ T.pack ("file:///" <> projectRoot),
physicalLocationRegion = MkRegion 1 1 2 2
}
],
Expand All @@ -158,7 +158,7 @@ sendAdvisories cliOptions projectRoot packageAdvisories = do
runArtifacts =
[ -- TODO cabal files/lock?
MkArtifact
{ artifactLocation = MkArtifactLocation $ T.pack ("uri:///" <> projectRoot),
{ artifactLocation = MkArtifactLocation $ T.pack ("file:///" <> projectRoot),
artifactMimeType = Nothing
}
]
Expand Down

0 comments on commit 85410a4

Please sign in to comment.