diff options
author | cel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519> | 2017-11-05 21:25:46 -0500 |
---|---|---|
committer | cel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519> | 2017-11-06 12:22:55 -0500 |
commit | f66b6d81d24f304e732a70bd98478b83f1c0aec8 (patch) | |
tree | df8e585ef55f45528275feb8a16be6f341b77597 /lib | |
parent | 781358df92665a6806ef6946d8fd140f88cf6302 (diff) | |
download | patchfoo-f66b6d81d24f304e732a70bd98478b83f1c0aec8.tar.gz patchfoo-f66b6d81d24f304e732a70bd98478b83f1c0aec8.zip |
Ignore empty string about properties
Diffstat (limited to 'lib')
-rw-r--r-- | lib/render-msg.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/render-msg.js b/lib/render-msg.js index 88224f0..5cd6e2d 100644 --- a/lib/render-msg.js +++ b/lib/render-msg.js @@ -492,7 +492,7 @@ RenderMsg.prototype.about = function (cb) { var extras for (var k in this.c) { - if (!knownAboutProps[k]) { + if (this.c[k] !== null && this.c[k] !== '' && !knownAboutProps[k]) { if (!extras) extras = {} extras[k] = this.c[k] } |