manifoldco / torus-cli

A secure, shared workspace for secrets
https://www.torus.sh
BSD 3-Clause "New" or "Revised" License
614 stars 32 forks source link

Filter out nil errors when returning multiple #345

Closed ianlivingstone closed 6 years ago

ianlivingstone commented 6 years ago

In several places we were not filtering out nil errors when we needed to return multiple errors at once.

We now use errs.MultiError to filter out nil errors :)