Skip to content

Fix command-from-user-path to avoid shadowing - #15712

Open
shonfeder wants to merge 1 commit into
mainfrom
fix-command-from-user-path
Open

Fix command-from-user-path to avoid shadowing#15712
shonfeder wants to merge 1 commit into
mainfrom
fix-command-from-user-path

Conversation

@shonfeder

Copy link
Copy Markdown
Member

Description

If a dev had a program called hello on their path that emitted different output, then this test would fail, since the path to the bin was suffixed to the PATH.

This was affecting me due to an a long forgotten install of hello thru a nix tutorial.

Checklist

  • Tests added, if applicable.
  • Change log entry added for any user-facing changes.
  • Documentation added for any user-facing changes.

If a dev had a program called `hello` on their path, then this test
would fail, since the path to the bin was _suffixed_ to the `PATH`.

Signed-off-by: Shon Feder <shon.feder@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant