From b65ee9ea559d9b3ccc08f368baf330aec483d171 Mon Sep 17 00:00:00 2001 From: Patrick Steele-Idem Date: Tue, 12 Aug 2014 14:35:35 -0600 Subject: [PATCH] Changed Context.prototype.write() to call toString() --- lib/Context.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Context.js b/lib/Context.js index 4a786ec24..73ec1757b 100644 --- a/lib/Context.js +++ b/lib/Context.js @@ -177,7 +177,7 @@ Context.prototype = { }, write: function (str) { if (str != null) { - this.writer.write(str); + this.writer.write(str.toString()); } return this; },