Skip to content
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.

Fix configuration loading on Node v0.12.x and io.js. #1391

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

reid
Copy link

@reid reid commented Mar 12, 2015

Use err.code for Node forward compatibility.

The errno property of errors varies between Node v0.10.x and v0.12.x.
Use the property code instead, which is the same across both versions
and io.js.

Use `err.code` for Node forward compatibility.

The `errno` property of errors varies between Node v0.10.x and v0.12.x.
Use the property `code` instead, which is the same across both versions
and io.js.
@yahoocla
Copy link

CLA is valid!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants