Skip to content

Commit 2a927a4

Browse files
chenluliLAI-X
authored andcommitted
fix(ava/advisor): fix return type of advicesForChart
1 parent 81e1169 commit 2a927a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/ava/src/advisor/advise-pipeline/advicesForChart.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,6 @@ export function advicesForChart(
9292
// if the input data cannot be transformed into DataFrame
9393
// eslint-disable-next-line no-console
9494
console.error('error: ', error);
95-
return null;
95+
return { advices: [], log: [] };
9696
}
9797
}

0 commit comments

Comments
 (0)