got rid of dash in file names

This commit is contained in:
wukko
2022-07-17 17:21:51 +06:00
parent 67223b3acd
commit 299fe6336b
16 changed files with 17 additions and 20 deletions

View File

@@ -0,0 +1,9 @@
import * as fs from "fs";
export default function(path) {
try {
return JSON.parse(fs.readFileSync(path, 'utf-8'))
} catch(e) {
return false
}
}