Swap Yoda condition

This commit is contained in:
James DiGioia 2018-08-09 21:04:47 -04:00
parent 39e7ee6e65
commit 11aee13ff2

View File

@ -938,7 +938,7 @@ export default class ExpressionParser extends LValParser {
node = this.startNode(); node = this.startNode();
if ( if (
"smart" !== this.getPluginOption("pipelineOperator", "proposal") this.getPluginOption("pipelineOperator", "proposal") !== "smart"
) { ) {
this.raise( this.raise(
node.start, node.start,