Skip to content

Commit

Permalink
Fix nil logic
Browse files Browse the repository at this point in the history
  • Loading branch information
snmaynard committed Mar 21, 2013
1 parent 86962df commit 501e456
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bugsnag/configuration.rb
Expand Up @@ -55,7 +55,7 @@ def initialize
end

def should_notify?
@release_stage.nil? || @notify_release_stages || @notify_release_stages.include?(@release_stage)
@release_stage.nil? || @notify_release_stages.nil? || @notify_release_stages.include?(@release_stage)
end

def request_data
Expand Down

0 comments on commit 501e456

Please sign in to comment.