Skip to content

Commit

Permalink
fix ng-env template linting
Browse files Browse the repository at this point in the history
  • Loading branch information
ocombe committed Sep 7, 2023
1 parent 37fee62 commit c690015
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions scopes/generators/angular-templates/ng-env/files/env.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,11 +114,10 @@ export class ${Name} extends ${envName} {
*/
override generators(): EnvHandler<TemplateList> {
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})
]);
}
Expand Down

0 comments on commit c690015

Please sign in to comment.