From 645037c9da0b54cefa81b3ec178aecbeaeaf9460 Mon Sep 17 00:00:00 2001 From: Kiko Beats Date: Mon, 17 Apr 2017 14:33:15 +0200 Subject: [PATCH] Fix function params --- lib/Format.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Format.coffee b/lib/Format.coffee index 01f26d6..300e114 100644 --- a/lib/Format.coffee +++ b/lib/Format.coffee @@ -37,7 +37,7 @@ serialize = (obj, color, key) -> obj = JSON.stringify obj if isFalsy obj if !isObject obj - obj = "'#{obj}'" if key and isString obj and hasWhiteSpace obj + obj = "'#{obj}'" if key and isString(obj) and hasWhiteSpace(obj) return if key then "#{key}=#{obj}" else obj if obj instanceof Buffer