Openbravo Issue Tracking System - Tools
View Issue Details
0035856ToolsOtherspublic2017-04-27 11:142024-01-09 16:23
airaceburu 
Retail 
normalmajoralways
closedout of date 
5
0035856: jsbeautifier hook does not protect under extra spaces or removals of newlines at end of file
jsbeautifier hook does not protect under extra spaces or removals of newlines at end of file
Open a .js file with an empty last line
Add some spaces before any line
Remove the last line (empty) of the file
With the hooks configured in the .hgrc file try to commit
hg commit -m"test"
Notice that the hooks do not prevent you from doing this changes
(later on this will fail in ci)
No tags attached.
Issue History
2017-04-27 11:14airaceburuNew Issue
2017-04-27 11:14airaceburuAssigned To => Retail
2017-04-27 11:15airaceburuSummaryjsbeautifier hook does not protect under extra spaces or newlines at end of file => jsbeautifier hook does not protect under extra spaces or removals of newlines at end of file
2024-01-09 16:23shuehnerNote Added: 0158982
2024-01-09 16:23shuehnerStatusnew => closed
2024-01-09 16:23shuehnerResolutionopen => out of date

Notes
(0158982)
shuehner   
2024-01-09 16:23   
7 years old about old mercurial hooks. But we moved to different git hook some years ago.
Closing as out of date. Should that still be reproducible today with git please reopen