Skip to content

Commit

Permalink
fixed lint
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigogs committed Jun 5, 2018
1 parent 313e502 commit 7902ee3
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/Lexicon.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -220,7 +222,9 @@
}
break;
default:
if (!hasLeadingEscape) result = cur + result;
if (!hasLeadingEscape) {
result = cur + result;
}
}
}

Expand Down

0 comments on commit 7902ee3

Please sign in to comment.