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

fix the logic of checking module destination #36

Merged
merged 1 commit into from
Oct 22, 2023

Conversation

amtoine
Copy link
Member

@amtoine amtoine commented Oct 22, 2023

Description

i'm not sure (... | path exists) == file is doing anything very interesting, right? 😮

(... | path exists) or (... | path type) == file sounds more legit to me, i went with the former given the context of the command it's used in: it's checking for the existence 😋

@amtoine amtoine requested a review from kubouch October 22, 2023 11:31
@kubouch
Copy link
Contributor

kubouch commented Oct 22, 2023

Good catch, seems like a leftover typo.

@kubouch kubouch merged commit 881c567 into nushell:main Oct 22, 2023
3 checks passed
@amtoine amtoine deleted the fix-bad-logic branch October 23, 2023 16:11
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.

2 participants