Skip to content

Return an empty record instead of an empty list in capture-foreign-env #1954

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 1 commit into from
Jun 26, 2025

Conversation

meghprkh
Copy link
Contributor

  • load-env happily accepts an empty record but not an empty list
  • A small workaround to return an empty record in that case, as anyway we aim to return a record

load-env happily accepts an empty record but not an empty list
@fdncred fdncred merged commit 62cb829 into nushell:main Jun 26, 2025
2 checks passed
@fdncred
Copy link
Contributor

fdncred commented Jun 26, 2025

Thanks

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