Skip to content

Commit

Permalink
fix: disabled option, fixes #29
Browse files Browse the repository at this point in the history
  • Loading branch information
Zakhse authored and DiederikvandenB committed Sep 8, 2018
1 parent 0b2636f commit dbb2227
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sentry.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ module.exports = function sentry (moduleOptions) {
}, this.options.sentry, moduleOptions)

// Don't proceed if it's disabled
if (this.options.disabled) {
if (options.disabled) {
logger.info('Disabled because the disabled option is set')
return
}
Expand Down

0 comments on commit dbb2227

Please sign in to comment.