Skip to content

Commit

Permalink
rtfeldman#446 remove unused style 'plain'
Browse files Browse the repository at this point in the history
  • Loading branch information
frankschmitt committed Oct 31, 2020
1 parent b25016a commit 033c5bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion elm/review/src/ReviewConfig.elm
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ config =
|> Review.Rule.ignoreErrorsForFiles
[ "src/Test/Runner/Node/Vendor/Diff.elm"
, "src/Test/Runner/Node.elm"
, "src/Test/Runner/Node/Vendor/Console.elm"
--, "src/Test/Runner/Node/Vendor/Console.elm"
--, "src/Test/Reporter/TestResults.elm" -- isTodo
]
, NoUnused.Modules.rule
Expand Down
8 changes: 1 addition & 7 deletions elm/src/Test/Runner/Node/Vendor/Console.elm
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module Test.Runner.Node.Vendor.Console exposing (bgBlack, bgBlue, bgCyan, bgGreen, bgMagenta, bgRed, bgWhite, bgYellow, black, blue, bold, colorsInverted, cyan, dark, green, magenta, plain, red, underline, white, yellow)
module Test.Runner.Node.Vendor.Console exposing (bgBlack, bgBlue, bgCyan, bgGreen, bgMagenta, bgRed, bgWhite, bgYellow, black, blue, bold, colorsInverted, cyan, dark, green, magenta, red, underline, white, yellow)

{-| -}

Expand Down Expand Up @@ -43,12 +43,6 @@ module Test.Runner.Node.Vendor.Console exposing (bgBlack, bgBlue, bgCyan, bgGree
-}


{-| Display the text in the console's default style.
-}
plain : String -> String
plain str =
String.join "" [ "\u{001B}[0m", str, "\u{001B}[0m" ]


{-| Make the text darker.
Expand Down

0 comments on commit 033c5bc

Please sign in to comment.