Skip to content

Commit

Permalink
🔥 removed unnecessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
punit-naik committed Aug 28, 2018
1 parent 50235ee commit e3b4315
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/ssh_cli/core.clj
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@
(apply sh
(into (cond-> (into scp-cmd ["-i" identity-file])
dir? (conj "-r")) source-dest))
(do
(println (into (cond-> (into ["sshpass" "-p" password] scp-cmd)
dir? (conj "-r")) source-dest))
(apply sh
(into (cond-> (into ["sshpass" "-p" password] scp-cmd)
dir? (conj "-r")) source-dest)))))))
(apply sh
(into (cond-> (into ["sshpass" "-p" password] scp-cmd)
dir? (conj "-r")) source-dest))))))

0 comments on commit e3b4315

Please sign in to comment.