MCPcopy Create free account
hub / github.com/FSGModding/FSG_Mod_Assistant / checkFiles

Function checkFiles

test/fix-locale-files.js:52–59  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

50})
51
52async function checkFiles() {
53 const fileChecks = []
54 for ( const thisFileName of Object.keys(fileMap) ) {
55 fileChecks.push(testFile(thisFileName).then((contents) => { fileWriter(contents, thisFileName) }))
56 }
57
58 return Promise.allSettled(fileChecks)
59}
60
61async function testFile(file) {
62 let thisFile = {}

Callers 1

Calls 3

testFileFunction · 0.85
fileWriterFunction · 0.85
keysMethod · 0.80

Tested by

no test coverage detected