Skip to content

Commit

Permalink
fix: add newline at the end of the timings file
Browse files Browse the repository at this point in the history
  • Loading branch information
bahmutov committed Oct 13, 2023
1 parent 4f63cee commit 2b01d47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ function cypressSplit(on, config) {
const timingsString = JSON.stringify(timings, null, 2)
if (!fs.existsSync(SPLIT_FILE)) {
console.log('%s writing out timings file %s', label, SPLIT_FILE)
fs.writeFileSync(SPLIT_FILE, timingsString, 'utf8')
fs.writeFileSync(SPLIT_FILE, timingsString + '\n', 'utf8')
}
console.log(timingsString)
}
Expand Down

0 comments on commit 2b01d47

Please sign in to comment.