@@ -50,7 +50,7 @@ const belowThreshold = (id, expected, categories) => {
50
50
const getError = ( id , expected , categories , audits ) => {
51
51
const category = categories . find ( ( c ) => c . id === id ) ;
52
52
53
- const categoryError = `Expected category ${ chalk . magenta (
53
+ const categoryError = `Expected category ${ chalk . cyan (
54
54
category . title ,
55
55
) } to be greater or equal to ${ chalk . green ( expected ) } but got ${ chalk . red (
56
56
category . score !== null ? category . score : 'unknown' ,
@@ -60,7 +60,7 @@ const getError = (id, expected, categories, audits) => {
60
60
. filter ( ( { weight, id } ) => weight > 0 && audits [ id ] . score < 1 )
61
61
. map ( ( ref ) => {
62
62
const audit = audits [ ref . id ] ;
63
- return ` '${ chalk . magenta (
63
+ return ` '${ chalk . cyan (
64
64
audit . title ,
65
65
) } ' received a score of ${ chalk . yellow ( audit . score ) } `;
66
66
} )
@@ -151,11 +151,11 @@ const runAudit = async ({ path, url, thresholds }) => {
151
151
152
152
const prefixString = ( { path, url, str } ) => {
153
153
if ( path ) {
154
- return `\n${ chalk . red ( 'Error' ) } for directory '${ chalk . magenta (
154
+ return `\n${ chalk . red ( 'Error' ) } for directory '${ chalk . cyan (
155
155
path ,
156
156
) } ':\n${ str } `;
157
157
} else if ( url ) {
158
- return `\n${ chalk . red ( 'Error' ) } for url '${ chalk . magenta ( url ) } ':\n${ str } ` ;
158
+ return `\n${ chalk . red ( 'Error' ) } for url '${ chalk . cyan ( url ) } ':\n${ str } ` ;
159
159
} else {
160
160
return `\n${ str } ` ;
161
161
}
0 commit comments