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

Subcommand feature does not work on Ubuntu #144

Open
norio-nomura opened this issue Mar 10, 2019 · 0 comments
Open

Subcommand feature does not work on Ubuntu #144

norio-nomura opened this issue Mar 10, 2019 · 0 comments

Comments

@norio-nomura
Copy link
Contributor

Since /usr/bin/which rejects -s argument.
Reproducing steps on Ubuntu with SwiftLint:

$ docker run -it --rm norionomura/swiftlint:swift-4.2 bash
root@5d3cc0804b2c:/# echo "echo swiftlint-test executed">/usr/bin/swiftlint-test
root@5d3cc0804b2c:/# chmod +x /usr/bin/swiftlint-test
root@5d3cc0804b2c:/# swiftlint test
Illegal option -s
Usage: /usr/bin/which [-a] args
Unrecognized command: 'test'. See `swiftlint help`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant