Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(upload :src) gives weird error in some cases when source dir is incorrect #70

Closed
jeroenvandijk opened this issue May 26, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@jeroenvandijk
Copy link

Trying to upload dir deployment/docker with:

(upload {:dest "deployment"
         :src "deployment/docker"
         :recurse true
         :preserve true
         })

Here the :src should be ../deployment/docker, but the script complains about a missing file (indicating that it can actually read something). This might because of some state at the server. When :force true is used this error becomes the error message in #69

clojure.lang.ExceptionInfo: module failed [at script/upload-remote, line 11, column 1] {:type :sci/error, :line 11, :column 1, :message "module failed [at script/upload-remote, line 11, column 1]", :result :failed, :attr-result {:result :failed, :exit 1, :err "stat: cannot stat './app': No such file or directory\n", :out "set_file: ./\nset_file: ./app\n"}, :copy-result {:result :ok}}
@retrogradeorbit retrogradeorbit added the bug Something isn't working label May 26, 2020
@retrogradeorbit
Copy link
Member

fixed in 0.1.0-alpha.13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants