Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffreyHuynh1 committed Sep 6, 2024
1 parent b72f305 commit d2811f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/App/Fossa/Config/Analyze.hs
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ cliParser =
<*> optional (strOption (applyFossaStyle <> long "fossa-deps-file" <> helpDoc fossaDepsFileHelp <> metavar "FILEPATH"))
<*> flagOpt StaticOnlyTactics (applyFossaStyle <> long "static-only-analysis" <> stringToHelpDoc "Only analyze the project using static strategies.")
<*> withoutDefaultFilterParser fossaAnalyzeDefaultFilterDocUrl
<*> flagOpt StrictMode (applyFossaStyle <> long "strict" <> stringToHelpDoc "Enforces strict analysis to ensure the most accurate results for a strategy without resorting to fallbacks.")
<*> flagOpt StrictMode (applyFossaStyle <> long "strict" <> stringToHelpDoc "Enforces strict analysis to ensure the most accurate results for a strategy by rejecting fallbacks.")
where
fossaDepsFileHelp :: Maybe (Doc AnsiStyle)
fossaDepsFileHelp =
Expand Down
3 changes: 1 addition & 2 deletions src/Strategy/Pub.hs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
module Strategy.Pub (discover) where

import App.Fossa.Analyze.Types (AnalyzeProject (analyzeProjectStaticOnly), analyzeProject)
import App.Types (Mode (..))
import App.Util (guardStrictMode)
import Control.Carrier.Diagnostics (errDoc, errHelp)
import Control.Effect.Diagnostics (Diagnostics, errCtx, fatalText, recover, warnOnErr, (<||>))
Expand All @@ -16,7 +15,7 @@ import Diag.Common (
import Discovery.Filters (AllFilters)
import Discovery.Simple (simpleDiscover)
import Discovery.Walk (WalkStep (WalkContinue), findFileNamed, walkWithFilters')
import Effect.Exec (Exec, GetDepsEffs, Has)
import Effect.Exec (GetDepsEffs, Has)
import Effect.Logger (Logger)
import Effect.ReadFS (ReadFS)
import GHC.Generics (Generic)
Expand Down

0 comments on commit d2811f9

Please sign in to comment.