File tree 1 file changed +3
-3
lines changed
packages/git/src/subcommands
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -123,15 +123,15 @@ export default {
123
123
if ( staged . length ) {
124
124
stdout ( 'Changes to be committed:' ) ;
125
125
for ( const [ file , change ] of staged ) {
126
- stdout ( ` ${ change } : ${ padding ( 10 - change . length ) } ${ file } ` ) ;
126
+ stdout ( chalk . greenBright ( ` ${ change } : ${ padding ( 10 - change . length ) } ${ file } ` ) ) ;
127
127
}
128
128
stdout ( '' ) ;
129
129
}
130
130
131
131
if ( unstaged . length ) {
132
132
stdout ( 'Changes not staged for commit:' ) ;
133
133
for ( const [ file , change ] of unstaged ) {
134
- stdout ( ` ${ change } : ${ padding ( 10 - change . length ) } ${ file } ` ) ;
134
+ stdout ( chalk . redBright ( ` ${ change } : ${ padding ( 10 - change . length ) } ${ file } ` ) ) ;
135
135
}
136
136
stdout ( '' ) ;
137
137
}
@@ -140,7 +140,7 @@ export default {
140
140
stdout ( 'Untracked files:' ) ;
141
141
// TODO: Native git is smart enough to only list a top-level directory if all its contents are untracked
142
142
for ( const file of untracked ) {
143
- stdout ( ` ${ file } ` ) ;
143
+ stdout ( chalk . redBright ( ` ${ file } ` ) ) ;
144
144
}
145
145
}
146
146
You can’t perform that action at this time.
0 commit comments