Skip to content

Commit

Permalink
Follow hlint suggestion: move brackets to avoid $.
Browse files Browse the repository at this point in the history
  • Loading branch information
philderbeast committed Jan 22, 2023
1 parent b79fa5d commit d8561ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Stack/Build/Target.hs
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ parseRawTargetDirs root locals ri =
projectTypo :: Int -> Int -> String -> StyleDoc
projectTypo padLength dropLength option =
vsep
[ style Dir ((fromString $ replicate padLength ' ') <> (fromString $ T.unpack t))
[ style Dir (fromString (replicate padLength ' ') <> fromString (T.unpack t))
<> " is not a directory."
, style Highlight (fromString $ "--" <> option)
<> style Dir (fromString . drop dropLength $ T.unpack t)
Expand Down

0 comments on commit d8561ec

Please sign in to comment.