Commit Graph

3 Commits (c3c7944d79cd9ff7f5068fc854687deb342ffda8)

Author SHA1 Message Date
Unknwon 63eaac67a6
repo: improve error handling for PR #4803 2018-03-08 07:22:14 -05:00
bayangan1991 51e087fd87 repo: disallow web ui to delete protected branch after PR merged (#4803)
* Disallow web ui to delete protected branch

* Fix for branches not yet protected

Had to change how error was handled. If a branch had not yet been protected the error would be generated.

Reworked to start as false and then use the protected if it was found.
2018-03-08 07:11:34 -05:00
Unknwon 4400d2fdd9
Refactoring: rename package routers -> routes 2017-06-11 00:34:14 -04:00