[#1] Fail if all files are reset to committed version.
This commit is contained in:
parent
d00760732d
commit
ba54c407cb
4 changed files with 40 additions and 9 deletions
|
@ -73,4 +73,5 @@ if !parameters[:formatter] || parameters[:patterns].empty?
|
|||
exit
|
||||
end
|
||||
|
||||
FormatStaged.run(**parameters)
|
||||
success = FormatStaged.run(**parameters)
|
||||
exit success ? 0 : 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue