passing non-null required for doesContainStrings

This commit is contained in:
Mel O'Hagan 2022-04-07 17:13:08 +01:00
parent 404ec5cec1
commit 6b5be828e7
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ function getFormulaThatUseColumn(table, columnNames) {
if (!isStaticFormula(column)) { if (!isStaticFormula(column)) {
continue continue
} }
if (!doesContainStrings(column.formula, columnNames)) { if (!doesContainStrings(column?.formula ?? "", columnNames)) {
continue continue
} }
formula.push(column.name) formula.push(column.name)