Skip to content

Commit d35bc15

Browse files
committed
Remove dead code
1 parent ce9e004 commit d35bc15

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/colors.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,6 @@ const getColors = function({ opts }) {
1111
// Can disable or force colors with `opts.colors`.
1212
// chalk will automatically disable colors if output does not support it.
1313
const getChalkOpts = function({ opts: { colors } }) {
14-
if (colors === undefined) {
15-
return {}
16-
}
17-
1814
if (colors === false) {
1915
return { enabled: false }
2016
}

0 commit comments

Comments
 (0)