Skip to content

Commit 8a98cb3

Browse files
committed
Fixes #2531. Allow colors where Node says that colors are available.
1 parent de5e2c6 commit 8a98cb3

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

Cakefile

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,8 @@ CoffeeScript = require './lib/coffee-script'
55
{spawn, exec} = require 'child_process'
66

77
# ANSI Terminal Colors.
8-
enableColors = no
9-
unless process.platform is 'win32'
10-
enableColors = not process.env.NODE_DISABLE_COLORS
11-
128
bold = red = green = reset = ''
13-
if enableColors
9+
unless process.env.NODE_DISABLE_COLORS
1410
bold = '\x1B[0;1m'
1511
red = '\x1B[0;31m'
1612
green = '\x1B[0;32m'

0 commit comments

Comments
 (0)