File tree 2 files changed +4
-6
lines changed
2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 1
1
var util = require ( 'util' ) ;
2
- var red = require ( 'ansi-red' ) ;
3
- var cyan = require ( 'ansi-cyan' ) ;
2
+ var colors = require ( 'ansi-colors' ) ;
4
3
var extend = require ( 'extend-shallow' ) ;
5
4
var differ = require ( 'arr-diff' ) ;
6
5
var union = require ( 'arr-union' ) ;
@@ -139,9 +138,9 @@ PluginError.prototype.toString = function() {
139
138
140
139
// Format the output message
141
140
function message ( msg , thisArg ) {
142
- var sig = red ( thisArg . name ) ;
141
+ var sig = colors . red ( thisArg . name ) ;
143
142
sig += ' in plugin ' ;
144
- sig += '"' + cyan ( thisArg . plugin ) + '"' ;
143
+ sig += '"' + colors . cyan ( thisArg . plugin ) + '"' ;
145
144
sig += '\n' ;
146
145
sig += msg ;
147
146
return sig ;
Original file line number Diff line number Diff line change 27
27
"coveralls" : " npm run cover && istanbul-coveralls"
28
28
},
29
29
"dependencies" : {
30
- "ansi-cyan" : " ^0.1.1" ,
31
- "ansi-red" : " ^0.1.1" ,
30
+ "ansi-colors" : " ^1.0.1" ,
32
31
"arr-diff" : " ^1.0.1" ,
33
32
"arr-union" : " ^2.0.1" ,
34
33
"extend-shallow" : " ^1.1.2"
You can’t perform that action at this time.
0 commit comments