Skip to content

Commit

Permalink
fix: set correct env for env template
Browse files Browse the repository at this point in the history
  • Loading branch information
ocombe committed Apr 15, 2024
1 parent a75df6e commit 75c5eea
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions angular/templates/generators/ng-env/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ export class NgEnvTemplate implements ComponentTemplate {

isEnv = true;

readonly env = 'bitdev.general/envs/bit-env';

private constructor(
readonly envName: string,
readonly angularVersion: number,
Expand Down Expand Up @@ -69,14 +71,6 @@ export class NgEnvTemplate implements ComponentTemplate {
];
}

config() {
return {
'teambit.envs/envs': {
env: 'teambit.envs/env'
}
};
}

static from(options: AngularComponentTemplateOptions & { envName: string; angularVersion: number; }) {
return (context: EnvContext) => {
const pkg = context.getAspect<PkgMain>(PkgAspect.id);
Expand Down

0 comments on commit 75c5eea

Please sign in to comment.