(filePath)
| 29 | * @returns A promise that resolves to the result of parsing the file contents. |
| 30 | */ |
| 31 | const readFile = async (filePath) => { |
| 32 | const contents = await fsp.readFile(filePath, 'utf8') |
| 33 | return contents || null |
| 34 | } |
| 35 | |
| 36 | /** |
| 37 | * Writes a file with the given contents. |
no test coverage detected
searching dependent graphs…