corvid-dir-as-json
Advanced tools
Comparing version 0.1.2 to 0.1.3
{ | ||
"name": "corvid-dir-as-json", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -13,3 +13,3 @@ const fs = require("fs-extra"); | ||
? await readDirToJson(fullPath) | ||
: await fs.readFile(fullPath, "utf8") | ||
: (await fs.readFile(fullPath, "utf8")) || "" | ||
}); | ||
@@ -16,0 +16,0 @@ }, {}); |
Sorry, the diff of this file is not supported yet
8237