diff --git a/src/Distribution/Audit.hs b/src/Distribution/Audit.hs index d01ebbb..235275e 100644 --- a/src/Distribution/Audit.hs +++ b/src/Distribution/Audit.hs @@ -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