Skip to content

Commit

Permalink
fix: send hits in production mode by default (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
manniL authored and pi0 committed Oct 25, 2019
1 parent 58d9248 commit 0871f84
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 0871f84

Please sign in to comment.