yeoman / configstore

Easily load and persist config without having to think about where and how
BSD 2-Clause "Simplified" License
868 stars 56 forks source link

Rethrow error #3

Closed satazor closed 11 years ago

satazor commented 11 years ago

If the error code is something else than ENOENT (e.g.: EPERM), readFile should actually rethrow the error.

passy commented 11 years ago

It always fills me with joy when the Zen of Python gets applied.

Errors should never pass silently.
sindresorhus commented 11 years ago

/me runs away ashamed crying