Skip to content

Commit d8561ec

Browse files
committed
Follow hlint suggestion: move brackets to avoid $.
1 parent b79fa5d commit d8561ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Stack/Build/Target.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ parseRawTargetDirs root locals ri =
188188
projectTypo :: Int -> Int -> String -> StyleDoc
189189
projectTypo padLength dropLength option =
190190
vsep
191-
[ style Dir ((fromString $ replicate padLength ' ') <> (fromString $ T.unpack t))
191+
[ style Dir (fromString (replicate padLength ' ') <> fromString (T.unpack t))
192192
<> " is not a directory."
193193
, style Highlight (fromString $ "--" <> option)
194194
<> style Dir (fromString . drop dropLength $ T.unpack t)

0 commit comments

Comments
 (0)