mirror of
https://github.com/nushell/nushell.git
synced 2025-08-19 13:38:54 +02:00
Simplifies 'if' to work on the available scope rather than a stream (#2805)
This commit is contained in:
@@ -27,7 +27,7 @@ fn plugins_are_declared_with_wix() {
|
||||
| wrap wix
|
||||
}
|
||||
| default wix _
|
||||
| if $it.wix != $it.cargo { = 1 } { = 0 }
|
||||
| each { if $it.wix != $it.cargo { = 1 } { = 0 } }
|
||||
| math sum
|
||||
"#
|
||||
));
|
||||
|
Reference in New Issue
Block a user