Skip to content

Commit

Permalink
fix: send hits in production mode by default
Browse files Browse the repository at this point in the history
  • Loading branch information
manniL authored Oct 22, 2019
1 parent 58d9248 commit 9c55a28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/module.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ function analyticsModule(moduleOptions) {
const options = {
dev: true,
debug: {
sendHitTask: undefined
sendHitTask: this.options.dev ? undefined : true
},
...this.options['google-analytics'],
...this.options.googleAnalytics,
Expand Down

0 comments on commit 9c55a28

Please sign in to comment.