Bug 39353: (QA follow-up) Clarify error message
Signed-off-by: Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
488d0042e6
commit
8ae546b31b
1 changed files with 4 additions and 1 deletions
|
@ -204,7 +204,10 @@ sub tidy_tt {
|
|||
$content =~ s#(\[%\s*SWITCH[^\]]*\]\n)\n#$1#g;
|
||||
|
||||
unless ($content) {
|
||||
return ( 0, "Something went wrong, Prettier generated an empty file.", [], [], [] );
|
||||
return (
|
||||
0, "Something went wrong, Prettier generated an empty file. The original file was kept", [],
|
||||
[], []
|
||||
);
|
||||
}
|
||||
if ( $no_write && $pass == 2 ) {
|
||||
print $content;
|
||||
|
|
Loading…
Reference in a new issue