From 792d32b3f9d8e6541a6be6ed09b43c49a23a42da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabio=20Jos=C3=A9?= Date: Tue, 23 Jul 2019 13:42:11 -0300 Subject: [PATCH] Code style: missing semicolon MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Fabio José --- lib/utils/fun.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/utils/fun.js b/lib/utils/fun.js index cf0ca68..4c79cfa 100644 --- a/lib/utils/fun.js +++ b/lib/utils/fun.js @@ -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,