Skip to content

Commit

Permalink
fix(ava/advisor): fix return type of advicesForChart
Browse files Browse the repository at this point in the history
  • Loading branch information
chenluli authored and LAI-X committed Mar 11, 2024
1 parent 81e1169 commit 2a927a4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,6 @@ export function advicesForChart(
// if the input data cannot be transformed into DataFrame
// eslint-disable-next-line no-console
console.error('error: ', error);
return null;
return { advices: [], log: [] };
}
}

0 comments on commit 2a927a4

Please sign in to comment.