Linting.
This commit is contained in:
parent
7e4e0db30f
commit
cb4f7ade75
|
@ -118,7 +118,9 @@ module.exports.isValid = string => {
|
||||||
return true
|
return true
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
const msg = err ? err.message : ""
|
const msg = err ? err.message : ""
|
||||||
const foundCase = specialCases.find(spCase => msg.toLowerCase().includes(spCase))
|
const foundCase = specialCases.find(spCase =>
|
||||||
|
msg.toLowerCase().includes(spCase)
|
||||||
|
)
|
||||||
// special case for maths functions - don't have inputs yet
|
// special case for maths functions - don't have inputs yet
|
||||||
return !!foundCase
|
return !!foundCase
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue