e -> error
This commit is contained in:
parent
b1f679ff6d
commit
16b4b58de1
2 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@ process.atomBinding = function(name) {
|
|||
try {
|
||||
return process.binding("atom_" + process.type + "_" + name);
|
||||
} catch (error) {
|
||||
if (/No such module/.test(e.message)) {
|
||||
if (/No such module/.test(error.message)) {
|
||||
return process.binding("atom_common_" + name);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue