Skip to content

Commit b480372

Browse files
committed
fix typo
1 parent c127f36 commit b480372

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/cubejs-schema-compiler/src/adapter/PreAggregations.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -961,7 +961,7 @@ export class PreAggregations {
961961
}
962962
);
963963
if (referencedPreAggregations.length === 0) {
964-
throw new UserError(`rollupLambda '${cube}.${preAggregationName}' should reference at least on rollup`);
964+
throw new UserError(`rollupLambda '${cube}.${preAggregationName}' should reference at least one rollup`);
965965
}
966966
referencedPreAggregations.forEach((referencedPreAggregation, i) => {
967967
if (i === referencedPreAggregations.length - 1 && preAggObj.preAggregation.unionWithSourceData && preAggObj.cube !== referencedPreAggregations[i].cube) {

0 commit comments

Comments
 (0)