Skip to content

Schematics: Environments import path is off by one level when generating new store #1090

Closed
@markgoho

Description

I'm submitting a...


[ ] Regression (a behavior that used to work and stopped working in a new release)
[X] Bug report  
[ ] Feature request
[ ] Documentation issue or request

What is the current behavior?

use schematics to generate a new store
ng g store AppState --root --module app.module.ts --collection @ngrx/schematics
in app.module.ts the environment file path is incorrect
import { environment } from '../../environments/environment';

Expected behavior:

see the environment path file set to
import { environment } from '../environments/environment';

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions