Skip to content

Commit 27ba464

Browse files
committed
Bug fix:aggregate operator
1 parent 4b5ce25 commit 27ba464

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/yaml_parser/src/LoadYaml.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@ export function getAggregateOperatorConfigs(){
5757
try {
5858
const parsedData = getDataFromYamlFile();
5959
const aggregateOperatorConfigs = [];
60+
if (!parsedData.aggregate_operators) {
61+
return aggregateOperatorConfigs;
62+
}
6063
// console.log("aggregate_operators", parsedData.aggregate_operators)
6164
for (const aggregateConfig of parsedData.aggregate_operators) {
6265
try {

0 commit comments

Comments
 (0)