File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -2,21 +2,21 @@ import chalk from 'chalk'
22
33export default {
44 info ( messages ) {
5- console . log ( '' )
5+ console . warn ( '' )
66 messages . forEach ( message => {
7- console . log ( chalk . bold . cyan ( 'info' ) , '-' , message )
7+ console . warn ( chalk . bold . cyan ( 'info' ) , '-' , message )
88 } )
99 } ,
1010 warn ( messages ) {
11- console . log ( '' )
11+ console . warn ( '' )
1212 messages . forEach ( message => {
13- console . log ( chalk . bold . yellow ( 'warn' ) , '-' , message )
13+ console . warn ( chalk . bold . yellow ( 'warn' ) , '-' , message )
1414 } )
1515 } ,
1616 risk ( messages ) {
17- console . log ( '' )
17+ console . warn ( '' )
1818 messages . forEach ( message => {
19- console . log ( chalk . bold . magenta ( 'risk' ) , '-' , message )
19+ console . warn ( chalk . bold . magenta ( 'risk' ) , '-' , message )
2020 } )
2121 } ,
2222}
You can’t perform that action at this time.
0 commit comments