Revert "Add pipeline operators to help" (#7454)

Reverts nushell/nushell#7449
This commit is contained in:
JT 2022-12-13 16:49:00 +13:00 committed by GitHub
parent 0c656fd276
commit 0242b30027
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -312,24 +312,6 @@ fn generate_operator_info() -> Vec<OperatorInfo> {
description: "Checks if one value is true and the other is false.".into(),
precedence: 45,
},
OperatorInfo {
op_type: "Pipeline".into(),
operator: "&&".into(),
name: "PipelineAnd".into(),
description:
"Runs the pipeline on the left and, if successful, runs pipeline on the right."
.into(),
precedence: 0,
},
OperatorInfo {
op_type: "Pipeline".into(),
operator: "||".into(),
name: "PipelineOr".into(),
description:
"Runs the pipeline on the left and, if it failed, runs pipeline on the right."
.into(),
precedence: 0,
},
]
}