Update fieldType comparison operator to strict

This commit is contained in:
David Thomas 2018-07-13 18:00:47 -04:00
parent b3b2b32dd8
commit 422530ceed

View File

@ -469,7 +469,7 @@ module.exports = {
} }
} }
// Check if the value is a valid candidate to be converted to a number value // Check if the value is a valid candidate to be converted to a number value
if (fieldType != 'string') { if (fieldType !== 'string') {
formattedValue = isNumeric(value) formattedValue = isNumeric(value)
? _.toNumber(value) ? _.toNumber(value)
: value; : value;