Skip to content

Commit 372476d

Browse files
authored
Merge pull request #9 from codeur/fix/rubocop-breaking-changes
Fix RuboCop breaking changes
2 parents b9a12b2 + 06f9b31 commit 372476d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/capistrano/sentry/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
module Capistrano
44
module Sentry
5-
VERSION = '0.4.1'
5+
VERSION = '0.4.2'
66
end
77
end

lib/capistrano/tasks/sentry.rake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ namespace :sentry do
2020
run_locally do
2121
info '[sentry:validate_config] Validating Sentry notification config'
2222
api_token = ENV['SENTRY_API_TOKEN'] || fetch(:sentry_api_token)
23-
if api_token.blank?
23+
if api_token.nil? || api_token.empty?
2424
msg = 'Missing SENTRY_API_TOKEN. Please set SENTRY_API_TOKEN environment' \
2525
' variable or `set :sentry_api_token` in your `config/deploy.rb` file for your Rails application.'
2626
warn msg

0 commit comments

Comments
 (0)