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

Pipelines with each and null at the end break #12911

Open
KAAtheWiseGit opened this issue May 20, 2024 · 0 comments
Open

Pipelines with each and null at the end break #12911

KAAtheWiseGit opened this issue May 20, 2024 · 0 comments
Labels
needs-triage An issue that hasn't had any proper look

Comments

@KAAtheWiseGit
Copy link
Contributor

Describe the bug

If a pipeline with an each closure, which uses the $in argument (either explicitly or implicitly, like $list | each { command }) has a null` at the end, it doesn't work.

How to reproduce

-> [a] | each { cp $in b } | null
# `a` will not be copied

Expected behavior

null not impacting the command semantics.

Screenshots

No response

Configuration

key value
version 0.92.0
branch
commit_hash
build_os linux-x86_64
build_target x86_64-alpine-linux-musl
rust_version rustc 1.77.0 (aedd173a2 2024-03-17) (Alpine Linux 1.77.0-r0)
cargo_version cargo 1.77.0
build_time 2024-04-03 10:33:03 +00:00
build_rust_channel release
allocator mimalloc
features default, sqlite, trash, which
installed_plugins

Additional context

No response

@KAAtheWiseGit KAAtheWiseGit added the needs-triage An issue that hasn't had any proper look label May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-triage An issue that hasn't had any proper look
Projects
None yet
Development

No branches or pull requests

1 participant