From 7902ee3e4a7049f388f184a57acd18ece0986bc8 Mon Sep 17 00:00:00 2001 From: Rodrigo Gomes da Silva Date: Tue, 5 Jun 2018 14:50:00 -0300 Subject: [PATCH] fixed lint --- src/Lexicon.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/Lexicon.js b/src/Lexicon.js index 7370707..94d591c 100644 --- a/src/Lexicon.js +++ b/src/Lexicon.js @@ -166,7 +166,9 @@ switch (cur) { case TOKENS.SIGN: - if (!hasLeadingEscape) result = (sign ? '+' : '-') + result; + if (!hasLeadingEscape) { + result = (sign ? '+' : '-') + result; + } break; case TOKENS.HOURS: if (hasLeadingEscape && hours.length > 0) { @@ -220,7 +222,9 @@ } break; default: - if (!hasLeadingEscape) result = cur + result; + if (!hasLeadingEscape) { + result = cur + result; + } } }