reanahub / reana-client

REANA command-line client
http://reana-client.readthedocs.io/
MIT License
10 stars 46 forks source link

cli: avoid path duplication on error message when file doesn't exist #182

Closed diegodelemos closed 5 years ago

diegodelemos commented 6 years ago

Stemmed from https://github.com/reanahub/reana-client/pull/181#issuecomment-422426948

$ reana-client upload
File /m2/reana/reana-demo-root6-roofit/foo could not be uploaded: /m2/reana/reana-demo-root6-roofit/foo does not exist. ->
File /m2/reana/reana-demo-root6-roofit/foo could not be uploaded as it was not found.
diegodelemos commented 5 years ago

Closing as this has been fixed.