-
-
Notifications
You must be signed in to change notification settings - Fork 848
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
Use short options for ls command #819
Conversation
8b4ebb8
to
b9275d5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add an entry to the CHANGELOG. Other than that I think this looks good.
@tmccombs done |
c56a5ea
to
0f098a1
Compare
I'm actually stupid. 5th time's the charm. |
I just tried to run |
That's why we previously only passed the color arg if we have |
Try to fix ls `--color` option on macos
Ight, sorry about that whole debacle, it should finally be good now. |
Thanks @tsoutsman . As mentioned in the issue, this happened on GitHub Actions, so it should be pretty easy to test. Given it looks like there are test runs I'm a bit surprised they haven't caught this before. I think this was where I had it broken and worked around it: |
Given how I handled changing 4 lines of code, I think I should avoid touching the CI with a ten-foot pole. |
Interestingly there is a test: Lines 1764 to 1770 in 224b7f2
I'm definitely no rust expert, but even when I add a 20.04 run (#820) (which ubuntu-latest was at the time I hit the issue), there's no mention of any of the tests in that file in the test log that I can see: Which might be why it wasn't caught... Indeed the docs seem to say it won't run as an integration test, but not how to run it instead: |
These tests do not run on ARM platforms (see |
@tsoutsman Thank you very much.
No worries! 😄 If you (still) think that the code is confusing, please let me know. There's certainly a way to improve it. I think this PR is good to go. @peternewman ? |
Yes of course, you can't run the binary when cross-compiling... |
Yes, agreed. Looking back at my issue, it was within a Docker container I had the issue, which is probably far more of a faff to spin up CI wise... |
Closes #783
I don't think it's possible to create a regression test as that would require complex CI environments with different
ls
versions.