Skip to content

Commit

Permalink
[fix] try fixing by not assuming --depth 1
Browse files Browse the repository at this point in the history
  • Loading branch information
MangoIV committed May 31, 2024
1 parent 694ce33 commit b3df663
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Distribution/Audit.hs
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ buildAdvisories MkAuditConfig {advisoriesPathOrURL, verbosity} flags = do
Left fp -> k fp
Right url -> withSystemTempDirectory "cabal-audit" \tmp -> do
hPutStrLn stderr $ formatWith [blue] $ "trying to clone " <> url
callProcess "git" ["clone", "--depth", "1", url, tmp]
callProcess "git" ["clone", url, tmp]
k tmp

pure $ matchAdvisoriesForPlan plan advisories
Expand Down

0 comments on commit b3df663

Please sign in to comment.