Code style: missing semicolon

Signed-off-by: Fabio José <fabiojose@gmail.com>
This commit is contained in:
Fabio José 2019-07-23 13:42:11 -03:00
parent 68530adebb
commit 792d32b3f9
1 changed files with 2 additions and 2 deletions

View File

@ -6,14 +6,14 @@ const isDefined = (v) => v && (typeof v) != "undefined";
const isDefinedOrThrow = (v, t) =>
(isDefined(v)
? () => true
: (() => {throw t})());
: (() => {throw t;})());
const isStringOrObjectOrThrow = (v, t) =>
(isString(v)
? true
: isObject(v)
? true
: (() => {throw t})());
: (() => {throw t;})());
module.exports = {
isString : isString,