From c6900150df144c7c8961fb8e66a4f31d0f483a5e Mon Sep 17 00:00:00 2001 From: Olivier Combe Date: Thu, 7 Sep 2023 17:27:25 +0200 Subject: [PATCH] fix ng-env template linting --- scopes/generators/angular-templates/ng-env/files/env.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/scopes/generators/angular-templates/ng-env/files/env.ts b/scopes/generators/angular-templates/ng-env/files/env.ts index bec1e4e1..905db305 100644 --- a/scopes/generators/angular-templates/ng-env/files/env.ts +++ b/scopes/generators/angular-templates/ng-env/files/env.ts @@ -114,11 +114,10 @@ export class ${Name} extends ${envName} { */ override generators(): EnvHandler { const envName = this.constructor.name; - const angularVersion = this.angularVersion; return TemplateList.from([ - NgModuleTemplate.from({ envName, angularVersion }), - NgEnvTemplate.from({ envName, angularVersion }), - NgAppTemplate.from({ envName, angularVersion }) + NgModuleTemplate.from({envName, angularVersion: this.angularVersion}), + NgEnvTemplate.from({envName, angularVersion: this.angularVersion}), + NgAppTemplate.from({envName, angularVersion: this.angularVersion}) ]); }