mirror of
https://github.com/atom/atom.git
synced 2026-02-04 11:45:16 -05:00
Format undefined array values as null
This commit is contained in:
@@ -28,7 +28,7 @@ module.exports =
|
||||
cson += @stringifyBoolean(value)
|
||||
else if _.isNumber(value)
|
||||
cson += @stringifyNumber(value)
|
||||
else if _.isNull(value)
|
||||
else if _.isNull(value) or value is undefined
|
||||
cson += @stringifyNull(value)
|
||||
else if _.isArray(value)
|
||||
cson += @stringifyArray(value, indentLevel + 2)
|
||||
|
||||
Reference in New Issue
Block a user