(filePath)
| 2 | import parse from './parse.js' |
| 3 | |
| 4 | async function readFile(filePath) { |
| 5 | return fsp |
| 6 | .readFile(filePath, 'utf8') |
| 7 | .then((contents) => parse(filePath, contents)) |
| 8 | } |
| 9 | |
| 10 | export default readFile |
no test coverage detected
searching dependent graphs…