File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ const consola = new Consola({
109
109
new BasicReporter
110
110
],
111
111
defaults: {
112
- additionalStyle : ' white'
112
+ additionalColor : ' white'
113
113
}
114
114
})
115
115
@@ -158,7 +158,7 @@ Here are standard possible fields:
158
158
Common fields:
159
159
160
160
- ` additional `
161
- - ` additionalStyle `
161
+ - ` additionalColor `
162
162
- ` args `
163
163
- ` date `
164
164
- ` message `
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ for (const reporter of reporters) {
31
31
consola . success ( {
32
32
message : 'This is a fancy badge' ,
33
33
additional : 'With some additional info' ,
34
- additionalStyle : 'brown' ,
34
+ additionalColor : 'brown' ,
35
35
badge : true
36
36
} )
37
37
}
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ export default class FancyReporter extends BasicReporter {
69
69
70
70
// Print additional args
71
71
if ( fields . args . length ) {
72
- this . write ( '\n' + chalkColor ( logObj . additionalStyle || 'grey' ) ( fields . args . join ( ' ' ) ) )
72
+ this . write ( '\n' + chalkColor ( logObj . additionalColor || 'grey' ) ( fields . args . join ( ' ' ) ) )
73
73
}
74
74
75
75
// Newline
You can’t perform that action at this time.
0 commit comments