Skip to content

Commit

Permalink
Fix linting issues
Browse files Browse the repository at this point in the history
Signed-off-by: Josh Barker <[email protected]>
  • Loading branch information
josh-barker committed Oct 7, 2018
1 parent a00572c commit 8162140
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ def try(&_block)
end
end

# rubocop:disable PredicateName
class JenkinsUserCredentials < JenkinsCredentials
attr_reader :username

Expand All @@ -63,7 +64,7 @@ def has_password?
end

def has_private_key?
!!(xml.elements['privateKeySource/privateKey'].text)
!!xml.elements['privateKeySource/privateKey'].text
end

def has_passphrase?
Expand Down

0 comments on commit 8162140

Please sign in to comment.