FredrikNoren / ungit

The easiest way to use git. On any platform. Anywhere.
MIT License
10.41k stars 637 forks source link

Ungit returns 0 when wrong arguments are used #1548

Closed victorbnl closed 1 year ago

victorbnl commented 1 year ago

When running npm with wrong arguments, the exit-code returned is 0. It should be 1 so that other programs using ungit such as various IDE extensions know that ungit actually failed to start. That is the expected behaviour and would make debugging way easier