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

When listing toolchains only list directories #544

Merged
merged 1 commit into from Jun 24, 2016

Conversation

Projects
None yet
2 participants
@ipetkov
Copy link
Contributor

ipetkov commented Jun 23, 2016

  • Regular files in the toolchains directory will not be considered
    valid toolchain names
  • If a user opens their $RUSTUP_HOME/toolchains directory with their
    file explorer, the OS may create some files there (e.g. .DS_Store on
    OS X), which we do not want listed as installed toolchains
  • Fixes #520
When listing toolchains only list directories
* Regular files in the toolchains directory will not be considered
  valid toolchain names
* If a user opens their $RUSTUP_HOME/toolchains directory with their
  file explorer, the OS may create some files there (e.g. .DS_Store on
  OS X), which we do not want listed as installed toolchains
* Fixes #520

@brson brson merged commit 2ae4713 into rust-lang:master Jun 24, 2016

2 checks passed

continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@brson

This comment has been minimized.

Copy link
Contributor

brson commented Jun 24, 2016

Beautiful! Thanks for writing a test!

@ipetkov ipetkov deleted the ipetkov:fix-520 branch Jun 24, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.