Fix variable cast
This commit is contained in:
parent
d81371c2b7
commit
8e16f28827
|
@ -183,12 +183,12 @@ function parseBooleanOperands(args) {
|
|||
|
||||
if (existsLocalVariable(operand)) {
|
||||
const operandLocalVariable = getLocalVariable(operand);
|
||||
return operandLocalVariable || '';
|
||||
return operandLocalVariable ?? '';
|
||||
}
|
||||
|
||||
if (existsGlobalVariable(operand)) {
|
||||
const operandGlobalVariable = getGlobalVariable(operand);
|
||||
return operandGlobalVariable || '';
|
||||
return operandGlobalVariable ?? '';
|
||||
}
|
||||
|
||||
const stringLiteral = String(operand);
|
||||
|
|
Loading…
Reference in New Issue