You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Pipeline Chain Operator not working consistently #10835
S> "hello" && get-item foo || "there"
hello
Get-Item: Cannot find path '/Users/steve/repos/PowerShell/foo' because it does not exist.
there
[30.77ms] /Users/steve/repos/PowerShell [host-vt]
PS> "hello" || "there"
hello
Actual behavior
PS> "hello" && get-item foo || "there"
hello
Get-Item: Cannot find path '/Users/steve/repos/PowerShell/foo' because it does not exist.
there
[30.77ms] /Users/steve/repos/PowerShell [host-vt]
PS> "hello" || "there"
hello
there
Environment data
Name Value
---- -----
PSVersion 7.0.0-preview.4
PSEdition Core
GitCommitId 7.0.0-preview.4-79-ge1203aa31b095cbffacb01978541fc641c07f770
OS Darwin 19.0.0 Darwin Kernel Version 19.0.0: Wed Sep 25 20:18:50 PDT 2019; root:xnu-6153.11.26~2/RELEASE_X86_64
Platform Unix
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Activity