We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b6a9484 commit ae657b6Copy full SHA for ae657b6
lib/commands/merge.js
@@ -41,6 +41,6 @@ exports.handler = cliWrapper(async argv => {
41
}
42
await makeDir(path.dirname(argv.outputFile))
43
const map = await nyc.getCoverageMapFromAllCoverageFiles(argv.inputDirectory)
44
- await fs.writeFile(argv.outputFile, JSON.stringify(map, null, 2), 'utf8')
+ await fs.writeFile(argv.outputFile, JSON.stringify(map), 'utf8')
45
console.info(`coverage files in ${argv.inputDirectory} merged into ${argv.outputFile}`)
46
})
0 commit comments