delano / rye

Safe, parallel access to Unix shells from Ruby
http://delano.github.com/rye
MIT License
235 stars 32 forks source link

Wrong variables used in cmd.rb::string_upload #69

Open meowtochondria opened 7 years ago

meowtochondria commented 7 years ago

Line https://github.com/delano/rye/blob/master/lib/rye/cmd.rb#L195 should have filepath in place of remote_path, and newcontent in place of str.

meowtochondria commented 7 years ago

https://github.com/delano/rye/blob/master/lib/rye/cmd.rb#L197 needs to have upload replaced with append.