Skip to content

Commit 474beec

Browse files
authored
docs: Fix incorrect handling of env variable data type (#8979) — thanks, @AvilaJulio!
1 parent 0aee4fc commit 474beec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/pages/guides/recipes/query-acceleration/disabling-pre-aggregations.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ following file structure:
4747

4848
```javascript filename="env.js"
4949
module.exports = {
50-
pre_aggregations_enabled: process.env.PRE_AGGREGATIONS_ENABLED || true
50+
pre_aggregations_enabled: process.env.PRE_AGGREGATIONS_ENABLED !== 'false'
5151
}
5252
```
5353

@@ -83,4 +83,4 @@ the reason why `measures` are defined as such above.
8383
[ref-pre-aggs]: /product/caching#pre-aggregations
8484
[ref-env-vars-recipe-yaml]: /guides/recipes/code-reusability/environment-variables#yaml-files
8585
[ref-env-vars-recipe-js]: /guides/recipes/code-reusability/environment-variables#javascript-files
86-
[ref-context-symbols-transpilation]: /product/data-modeling/dynamic/schema-execution-environment#context-symbols-transpile
86+
[ref-context-symbols-transpilation]: /product/data-modeling/dynamic/schema-execution-environment#context-symbols-transpile

0 commit comments

Comments
 (0)