File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ const EXT = '.html';
32
32
*/
33
33
const a11y = async ( file = `${ process . env . PWD } /dist/index.html` ) => {
34
34
if ( ! args . nondescript && ! args . silent ) {
35
- cnsl . lint ( `${ alerts . accessible } Running Pa11y CI on ${ alerts . str . path ( file ) } ` ) ;
35
+ cnsl . lint ( `${ alerts . loading } Running Pa11y CI on ${ alerts . str . path ( file ) } ` ) ;
36
36
}
37
37
38
38
let results = await pa11y ( file , config ) ;
@@ -41,7 +41,7 @@ const a11y = async (file = `${process.env.PWD}/dist/index.html`) => {
41
41
if ( args . nondescript || args . silent ) {
42
42
cnsl . lint ( `${ alerts . str . path ( results . pageUrl ) } ` ) ;
43
43
} else {
44
- cnsl . lint ( `${ alerts . accessible } Pa11y suggestions for ${ alerts . str . path ( results . pageUrl ) } ` ) ;
44
+ cnsl . lint ( `${ alerts . error } Pa11y suggestions for ${ alerts . str . path ( results . pageUrl ) } ` ) ;
45
45
}
46
46
47
47
results . issues . forEach ( issue => {
@@ -55,7 +55,7 @@ const a11y = async (file = `${process.env.PWD}/dist/index.html`) => {
55
55
} ) ;
56
56
} else {
57
57
if ( ! args . nondescript && ! args . silent ) {
58
- cnsl . lint ( `${ alerts . accessible } No Pa11y suggestions for ${ alerts . str . path ( results . pageUrl ) } ` ) ;
58
+ cnsl . lint ( `${ alerts . success } No Pa11y suggestions for ${ alerts . str . path ( results . pageUrl ) } ` ) ;
59
59
}
60
60
}
61
61
Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ module.exports = {
31
31
compression : emoji . get ( 'compression' ) + ' ' ,
32
32
package : emoji . get ( 'package' ) ,
33
33
accessible : emoji . get ( 'person_doing_cartwheel' ) ,
34
+ loading : emoji . get ( 'hourglass_flowing_sand' ) ,
34
35
35
36
/**
36
37
* Chalk configuration. Refer to the package for details on the available
You can’t perform that action at this time.
0 commit comments