Skip to content

Commit f92b7ab

Browse files
ARHAEEMImgBotApp
authored andcommitted
quick fix
1 parent 414d931 commit f92b7ab

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/vendor/formula-minifier-v2.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ class EnhancedFormulaMinifier {
135135

136136
// TRUE and FALSE are boolean constants - they don't need parentheses
137137
// Note: NOW(), TODAY(), BLANK() are functions that require parentheses!
138-
const BOOLEAN_CONSTANTS = new Set(['TRUE', 'FALSE']);
138+
const CONSTANTS = new Set(['TRUE', 'FALSE']);
139139

140140
while (i < formula.length) {
141141
// Skip whitespace (will be removed or preserved based on context)
@@ -277,7 +277,7 @@ class EnhancedFormulaMinifier {
277277

278278
if (FUNCTIONS.has(value)) {
279279
tokens.push({ type: 'FUNCTION', value });
280-
} else if (BOOLEAN_CONSTANTS.has(value)) {
280+
} else if (CONSTANTS.has(value)) {
281281
// TRUE and FALSE are boolean constants, not functions
282282
tokens.push({ type: 'CONSTANT', value });
283283
} else {

0 commit comments

Comments
 (0)