Skip to content

Commit

Permalink
docs: Fix incorrect handling of env variable data type (#8979) — than…
Browse files Browse the repository at this point in the history
…ks, @AvilaJulio!
  • Loading branch information
AvilaJulio authored Nov 22, 2024
1 parent 0aee4fc commit 474beec
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ following file structure:

```javascript filename="env.js"
module.exports = {
pre_aggregations_enabled: process.env.PRE_AGGREGATIONS_ENABLED || true
pre_aggregations_enabled: process.env.PRE_AGGREGATIONS_ENABLED !== 'false'
}
```

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

0 comments on commit 474beec

Please sign in to comment.