Skip to content

Don't normalize commands #31

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

Merged
merged 9 commits into from
Jul 1, 2020
Merged

Conversation

jyn514
Copy link
Member

@jyn514 jyn514 commented Jun 29, 2020

Since commands are looked up in PATH, their Path is unreliable and
cannot be treated as a normal directory.

Closes #30

r? @pietroalbini

Since commands are looked up in PATH, their `Path` is unreliable and
cannot be treated as a normal directory.
Copy link
Member

@pietroalbini pietroalbini left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This also needs a line in the changelog.

jyn514 added 3 commits June 30, 2020 09:59
Since commands are looked up in PATH, their `Path` is unreliable and
cannot be treated as a normal directory.

- Add an integration test
- Cleanup afterwards
- Remove unix only test
Copy link
Member

@pietroalbini pietroalbini left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also you need to run rustfmt.

@pietroalbini pietroalbini merged commit b750c2b into rust-lang:master Jul 1, 2020
@pietroalbini
Copy link
Member

Released rustwide 0.9.0 with this change.

@jyn514 jyn514 deleted the close-to-home branch July 1, 2020 12:59
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

Successfully merging this pull request may close these issues.

If a folder named 'docker' is in the current directory, rustwide will try to execute it
2 participants