lib/shelly/ssh_key.rb in shelly-0.4.16 vs lib/shelly/ssh_key.rb in shelly-0.4.17

- old
+ new

@@ -8,10 +8,10 @@ def exists? File.exists?(path) end def destroy - shelly.delete_ssh_key(fingerprint) if exists? + shelly.delete_ssh_key(fingerprint) if uploaded? end def upload shelly.add_ssh_key(key) end