diff --git a/extension.js b/extension.js index 6457e71..806dd3a 100644 --- a/extension.js +++ b/extension.js @@ -90,10 +90,10 @@ class PHPCBF { } args.push(tmpFileName); - this.standard = this.getStandard(document); + const standard = this.getStandard(document); - if (this.standard) { - args.push("--standard=" + this.standard); + if (standard) { + args.push("--standard=" + standard); } if (this.debug) { console.group("PHPCBF");