Skip to content

Commit

Permalink
rubocop: nested if
Browse files Browse the repository at this point in the history
  • Loading branch information
lacostej committed Aug 8, 2017
1 parent 8ffba28 commit 2e0cc77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/u3d_core/credentials.rb
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ def forget_credentials(force: false)
UI.message 'Deleting credentials from the keychain'
Security::InternetPassword.delete(server: MAC_U3D_SERVER)
end
else
UI.verbose 'Keychain may store invalid credentials for u3d' if Helper.mac?
elsif Helper.mac?
UI.verbose 'Keychain may store invalid credentials for u3d'
end
end
end
Expand Down

0 comments on commit 2e0cc77

Please sign in to comment.