Bugzilla – Attachment 179481 Details for
Bug 39353
Tidy - Do not empty template files
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 39353: (QA follow-up) Clarify error message
Bug-39353-QA-follow-up-Clarify-error-message.patch (text/plain), 1.03 KB, created by
Emily Lamancusa (emlam)
on 2025-03-19 15:11:17 UTC
(
hide
)
Description:
Bug 39353: (QA follow-up) Clarify error message
Filename:
MIME Type:
Creator:
Emily Lamancusa (emlam)
Created:
2025-03-19 15:11:17 UTC
Size:
1.03 KB
patch
obsolete
>From 70f8abd835826477e081fb50466e3e051ccf2b66 Mon Sep 17 00:00:00 2001 >From: Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov> >Date: Wed, 19 Mar 2025 10:49:45 -0400 >Subject: [PATCH] Bug 39353: (QA follow-up) Clarify error message > >Signed-off-by: Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov> >--- > misc/devel/tidy.pl | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > >diff --git a/misc/devel/tidy.pl b/misc/devel/tidy.pl >index 9a0213d8f3b..2ab5c20c33a 100755 >--- a/misc/devel/tidy.pl >+++ b/misc/devel/tidy.pl >@@ -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; >-- >2.34.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 39353
:
179381
|
179386
|
179387
|
179480
| 179481