Comparing version 0.18.3 to 0.18.4
@@ -204,9 +204,11 @@ /** | ||
var stats = fs.statSync(normalizedPath); | ||
if (stats.isFile()) { | ||
loadFile(normalizedPath); | ||
if (fs.existsSync(normalizedPath)) { | ||
var stats = fs.statSync(normalizedPath); | ||
if (stats.isFile()) { | ||
loadFile(normalizedPath); | ||
} | ||
else if (stats.isDirectory()) { | ||
loadFolder(normalizedPath); | ||
} | ||
} | ||
else if (stats.isDirectory()) { | ||
loadFolder(normalizedPath); | ||
} | ||
return confFromFile; | ||
@@ -213,0 +215,0 @@ } |
{ | ||
"name": "node-ral", | ||
"version": "0.18.3", | ||
"version": "0.18.4", | ||
"description": "a rpc client for node", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
380094
11098