Reverse yoda conditions
If "smart" proposal is, we'll no longer say.
This commit is contained in:
@@ -421,7 +421,7 @@ export default class Tokenizer extends LocationParser {
|
||||
this.finishToken(tt.hash);
|
||||
return;
|
||||
} else if (
|
||||
"smart" === this.getPluginOption("pipelineOperator", "proposal")
|
||||
this.getPluginOption("pipelineOperator", "proposal") === "smart"
|
||||
) {
|
||||
if (next >= charCodes.digit0 && next <= charCodes.digit9) {
|
||||
this.raise(
|
||||
|
||||
Reference in New Issue
Block a user