Skip to content

Commit 2449c4e

Browse files
committed
Merge pull request less#2866 from mlowijs/master
Changed octals to hex for ES6 strict mode
2 parents 7a5e073 + a76db10 commit 2449c4e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/less-node/lessc-helper.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ var lessc_helper = {
1515
'red' : [31, 39],
1616
'grey' : [90, 39]
1717
};
18-
return '\033[' + styles[style][0] + 'm' + str +
19-
'\033[' + styles[style][1] + 'm';
18+
return '\x1b[' + styles[style][0] + 'm' + str +
19+
'\x1b[' + styles[style][1] + 'm';
2020
},
2121

2222
//Print command line options

0 commit comments

Comments
 (0)