Skip to content

Commit

Permalink
Merge pull request #10 from patrickhulce/patch-1
Browse files Browse the repository at this point in the history
Remove artifacts from results before saving
  • Loading branch information
evenstensberg authored Dec 27, 2017
2 parents ebf46f1 + 9bc1662 commit 5ca1046
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/lighthouse-bin.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,9 @@ function lighthouseRun(addresses, config, lighthouseFlags, chrome) {
}
return lighthouse(address, lighthouseFlags)
.then((results) => {
return saveResults(results, results.artifacts, lighthouseFlags);
const artifacts = results.artifacts;
delete results.artifacts;
return saveResults(results, artifacts, lighthouseFlags);
})
.then((results) => {
return lighthouseRun(addresses, config, lighthouseFlags, chrome);
Expand Down

0 comments on commit 5ca1046

Please # to comment.