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

S3 upload no longer works without CLI path prefix #16

Open
dominickp opened this issue Jun 17, 2018 · 0 comments
Open

S3 upload no longer works without CLI path prefix #16

dominickp opened this issue Jun 17, 2018 · 0 comments
Labels

Comments

@dominickp
Copy link
Member

For some windows users, CLI commands (like "aws") can be called within scripter directly without needing to specify the path. By including the CLI Command property and appending it to the prefix with a trailing slash, when the cli path prefix is not included, it results in executing "/aws" when it should execute "aws". Additionally, the slash used here should use the internal function provided by Switch to generate the correct slash for the OS ("/" and "").

https://github.com/open-automation/switch-aws/blob/master/Unpacked/S3%20Upload/S3%20Upload.js#L87

@dominickp dominickp added the bug label Jun 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant