Skip to content

Commit 00a8ff8

Browse files
committed
Little premature optimization
1 parent 69c324f commit 00a8ff8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import readFileString from "read-file-string"
1515
export default async file => {
1616
const text = await readFileString(file)
1717
if (text === null) {
18-
return null
18+
return text
1919
}
2020
return json5.parse(text)
2121
}

0 commit comments

Comments
 (0)