We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69c324f commit 00a8ff8Copy full SHA for 00a8ff8
src/index.js
@@ -15,7 +15,7 @@ import readFileString from "read-file-string"
15
export default async file => {
16
const text = await readFileString(file)
17
if (text === null) {
18
- return null
+ return text
19
}
20
return json5.parse(text)
21
0 commit comments