Swap Yoda condition
This commit is contained in:
@@ -938,7 +938,7 @@ export default class ExpressionParser extends LValParser {
|
||||
node = this.startNode();
|
||||
|
||||
if (
|
||||
"smart" !== this.getPluginOption("pipelineOperator", "proposal")
|
||||
this.getPluginOption("pipelineOperator", "proposal") !== "smart"
|
||||
) {
|
||||
this.raise(
|
||||
node.start,
|
||||
|
||||
Reference in New Issue
Block a user