We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 98aeb80 commit 7377db4Copy full SHA for 7377db4
1 file changed
generators/app/index.js
@@ -54,7 +54,7 @@ class NgxGenerator extends Generator {
54
required: false
55
});
56
57
- this.insight.optOut = !this.options.analytics || process.env.DISABLE_NGX_ANALYTICS;
+ this.insight.optOut = !this.options.analytics || Boolean(process.env.DISABLE_NGX_ANALYTICS);
58
59
if (this.options.raw) {
60
this.props.ui = 'raw';
0 commit comments