Fix lint issues

23286d186bc40355b4cebb74935ca8f5fbd7bc73

Wolfsblvt <wolfsblvt@gmail.com>

1 files changed, +3 -2Showing whitespace changes
public/scripts/variables.js+3 -2
@@ -523,11 +523,12 @@ export function evalBoolean(rule, a, b) {
523523 if (b === undefined) {
524524 switch (rule) {
525525 case undefined:
526526 case 'not': {
527527 const resultOnTruthy = rule !== 'not';
528528 if (isTrueBoolean(String(a))) return resultOnTruthy;
529529 if (isFalseBoolean(String(a))) return !resultOnTruthy;
530530 return !!a ? resultOnTruthy : !resultOnTruthy;
531+ }
531532 default:
532533 throw new Error(`Unknown boolean comparison rule for truthy check. If right operand is not provided, the rule must not provided or be 'not'. Provided: ${rule}`);
533534 }