Skip to content

Commit

Permalink
Merge pull request #55 from flyerhzm/awesomecode-lint-ruby-emptyline-…
Browse files Browse the repository at this point in the history
…39716

Auto corrected by following Lint Ruby EmptyLine
  • Loading branch information
flyerhzm committed Oct 10, 2019
2 parents fa1cb48 + 1f2e7d7 commit 36f085e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/uniform_notifier/growl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ def self.setup_connection(growl)

def self.setup_connection_growl(growl)
return unless growl

require 'ruby-growl'
if growl.instance_of?(Hash)
@password = growl.include?(:password) ? growl[:password] : nil
Expand All @@ -38,6 +39,7 @@ def self.setup_connection_growl(growl)

def self.setup_connection_gntp(growl)
return unless growl

require 'ruby_gntp'
if growl.instance_of?(Hash)
@password = growl.include?(:password) ? growl[:password] : nil
Expand Down

0 comments on commit 36f085e

Please sign in to comment.