Skip to content

Commit

Permalink
docs: Fix incorrect handling of env variable data type (cube-js#8979)…
Browse files Browse the repository at this point in the history
… — thanks, @AvilaJulio!
  • Loading branch information
AvilaJulio authored and ptiurin committed Nov 27, 2024
1 parent 94583ca commit 2a852cf
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 2a852cf

Please sign in to comment.