Closed wingZero21 closed 8 years ago
@wingZero21 This will cause NullPointerException to be thrown when the result is being consumed by the next for-loop. We should return an empty array instead of a null.
Since the change is trivial, I pushed it myself via https://github.com/ashwanthkumar/gocd-janitor/commit/91c15a257c8b2deaa12034fd44e1df6175e5f19d. Thanks for the attempt at contributing. Keep them coming :smiley:
Closing this now.
Amendment to stop error if there are no pipeline directories present.