Skip to content

Commit

Permalink
Remove stray ! in kernel code
Browse files Browse the repository at this point in the history
Fix #8
  • Loading branch information
evancz committed Nov 14, 2018
1 parent 7572c26 commit 84ecbaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Elm/Kernel/Json.js
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ function _Json_runHelp(decoder, value)
return (__Result_isOk(result)) ? result : __Result_Err(A2(__Json_Index, index, result.a));

case __1_KEY_VALUE:
if (typeof value !== 'object' || value === null || !_Json_isArray(value))
if (typeof value !== 'object' || value === null || _Json_isArray(value))
{
return _Json_expecting('an OBJECT', value);
}
Expand Down

0 comments on commit 84ecbaa

Please sign in to comment.