Skip to content

Commit

Permalink
Fix function params
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Apr 17, 2017
1 parent a1e23e1 commit 645037c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Format.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 645037c

Please sign in to comment.