Skip to content

Commit

Permalink
* fix bug in xml prolog
Browse files Browse the repository at this point in the history
  • Loading branch information
lalugeo committed Jan 10, 2019
1 parent 6653fb8 commit fdde81b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const processor = (report, reporterOptions = {}, jestRootDir = null) => {
mkdirp.sync(path.dirname(finalOutput));

// Write data to file
fs.writeFileSync(finalOutput,(constants.XML_PROLOG === 'true')? constants.XML_PROLOG_STRING : '' + xml(jsonResults, { indent: ' ' }));
fs.writeFileSync(finalOutput,((options.includeXmlProlog === 'true')? constants.XML_PROLOG_STRING : '') + xml(jsonResults, { indent: ' ' }));

// Jest 18 compatibility
return report;
Expand Down

0 comments on commit fdde81b

Please sign in to comment.