Skip to content

Doesn't scaffold property in a pod structure #9

@adambullmer

Description

@adambullmer

When a project is configured to use a pod structure, this addon doesn't scaffold into the appropriate location.

expected (example assumes config/environment.js to have no podModulePrefix set)

ember g clock my-clock --pod

installing service
  create app/my-clock/service.js
installing service-test
  create tests/unit/my-clock/service-test.js

actual

ember g clock my-clock --pod

installing service
  create app/services/my-clock.js

Running the app will give an import error: Uncaught Error: Cannot find module 'my-project/services/my-clock' and is resolved upon moving the file to the appropriate pod structure location.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions