File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
crates/biome_cli/src/execute Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -51,6 +51,10 @@ pub(crate) fn run<'a>(
5151
5252 if file_features. is_ignored ( ) {
5353 console. append ( markup ! { { content} } ) ;
54+ // Write error last because files may generally be long
55+ console. error ( markup ! {
56+ <Warn >"The content was not formatted because the path `" { biome_path. as_str( ) } "` is ignored." </Warn >
57+ } ) ;
5458 return Ok ( ( ) ) ;
5559 }
5660
@@ -101,6 +105,7 @@ pub(crate) fn run<'a>(
101105 console. append ( markup ! {
102106 { content}
103107 } ) ;
108+ // Write error last because files may generally be long
104109 console. error ( markup ! {
105110 <Warn >"The content was not formatted because the formatter is currently disabled." </Warn >
106111 } ) ;
@@ -132,6 +137,10 @@ pub(crate) fn run<'a>(
132137
133138 if file_features. is_ignored ( ) {
134139 console. append ( markup ! { { content} } ) ;
140+ // Write error last because files may generally be long
141+ console. error ( markup ! {
142+ <Warn >"The content was not fixed because the path `" { biome_path. as_str( ) } "` is ignored." </Warn >
143+ } ) ;
135144 return Ok ( ( ) ) ;
136145 }
137146
You can’t perform that action at this time.
0 commit comments