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
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/app/addons/rs/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ YUI.add('addon-rs-config', function(Y, NAME) {
throw new Error(parseErr);
}
} catch (err) {
if (err.errno !== 34) { // if the error was not "no such file or directory" report it
if (err.code !== "ENOENT") { // if the error was not "no such file or directory" report it
throw new Error("Error parsing file: " + fullPath + "\n" + err);
}
}
Expand Down