Skip to content

Commit

Permalink
XMLWriter doesn't like to write booleans
Browse files Browse the repository at this point in the history
  • Loading branch information
drewfish committed Jan 16, 2013
1 parent d11e471 commit 22534d2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/util/reportmanager.js
Expand Up @@ -116,6 +116,7 @@ ReportManager.prototype.writeReports = function () {

function addProperty(name, val) {
if (val) {
val += ''; // convert to string, since XMLWriter is picky
xw.startElement('property');
xw.writeAttribute('name', name);
xw.writeAttribute('value', val);
Expand Down

0 comments on commit 22534d2

Please sign in to comment.