diff --git a/source/rules/binding.ts b/source/rules/binding.ts index 7c7ca5a..eba35bc 100644 --- a/source/rules/binding.ts +++ b/source/rules/binding.ts @@ -497,7 +497,7 @@ export class BindingRule extends ASTBuilder { const decoratorArgumentsAsText: string[] = decoratorArguments.map((decoratorArg) => decoratorArg.text); decoratorArgumentsAsText.forEach((computedDependencyText) => { var exp = this.auReflection.createTextExpression(`\$\{${computedDependencyText}\}`); - if (exp){ + if (exp) { this.examineInterpolationExpression(node, exp); } }); diff --git a/spec/binding.spec.ts b/spec/binding.spec.ts index 61efaf1..f6d8d1d 100644 --- a/spec/binding.spec.ts +++ b/spec/binding.spec.ts @@ -855,7 +855,7 @@ describe("Static-Type Binding Tests", () => { \${value.nae} `; let reflection = new Reflection(); - let rule = new BindingRule(reflection, new AureliaReflection(), new AureliaReflection()); + let rule = new BindingRule(reflection, new AureliaReflection()); let linter = new Linter([rule]); reflection.add("./foo.ts", viewmodel); reflection.add("./item.ts", item);