Skip to content

fix(generate/service): creation output appears twice #347

Closed
@0x-r4bbit

Description

@0x-r4bbit

Running

ng g service contacts-service

Generates the following output

$ ng g service contacts-service
Could not find watchman, falling back to NodeWatcher for file system events.
Visit http://www.ember-cli.com/user-guide/#watchman for more info.
installing service
  create src/app/services/contacts-service/contacts-service.spec.ts
  create src/app/services/contacts-service/contacts-service.ts
  create src/app/services/contacts-service/contacts-service.spec.ts
  create src/app/services/contacts-service/contacts-service.ts

Not sure if it in fact creates the service + spec file twice, or if it just logs twice. If the former, then ofc the second call will override the first one, so the resulting files are okay.

However, I think this needs to be fixed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions