Skip to content
This repository has been archived by the owner on Mar 25, 2020. It is now read-only.

Commit

Permalink
Merge branch 'master' of github.com:Financial-Times/n-automation
Browse files Browse the repository at this point in the history
  • Loading branch information
lc512k committed Sep 16, 2016
2 parents 28d81d0 + 7d7adaa commit ab70eff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/reporter.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module.exports = {

for (const moduleName in modules) {
if (modules.hasOwnProperty(moduleName)) {
const file = `${outputFolder}${prefix}${moduleName}.json`;
const file = `${outputFolder}${prefix}${moduleName.replace('/', '-')}.json`;
fs.writeFile(file, JSON.stringify(results, null, 4))
}
}
Expand Down

0 comments on commit ab70eff

Please sign in to comment.