Bug 39111

Summary: Tidying template files is ineffective
Product: Koha Reporter: Jonathan Druart <jonathan.druart>
Component: Architecture, internals, and plumbingAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low    
Version: unspecified   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on: 38664    
Bug Blocks:    

Description Jonathan Druart 2025-02-12 15:46:48 UTC
There are 2 pass, we call the prettier plugin twice because there was an idempotent problem: I had to pretty the script at least twice to make it tidy and to make the script returning the same output.

We could try to remove those 2 passes and see if it fixes the problem (ie. the xt/tt_tidy.t does not fail) for new changes.