From 02e22e64b91a36d43f3462c378fc0e6aa632389d Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Mon, 17 Dec 2012 09:43:51 -0500 Subject: [PATCH] Corrected warning console output invocation --- lib/warn.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/warn.js b/lib/warn.js index b34f9c2..2ef88dc 100644 --- a/lib/warn.js +++ b/lib/warn.js @@ -118,7 +118,7 @@ exports.handlers = { var dest; _console && ( dest = _console.warn || _console.log ) && - dest( 'Warning: ' + warning.message ); + dest.call( _console, ( 'Warning: ' + warning.message ) ); },