Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generates --classic type structure when both usePods is true and --pod is used #7163

Closed
emrekutlu opened this issue Jun 29, 2017 · 2 comments
Labels

Comments

@emrekutlu
Copy link
Contributor

// project-root/.ember-cli
{
  "usePods": true
}

When usePods is true;

$ ember generate controller foo --pod

installing controller
  create app/controllers/foo.js
installing controller-test
  create tests/unit/controllers/foo-test.js

Generates in --classic structure not in --pod.


Output from ember version --verbose && npm --version && yarn --version:

ember-cli: 2.13.3
http_parser: 2.7.0
node: 6.9.1
v8: 5.1.281.84
uv: 1.9.1
zlib: 1.2.8
ares: 1.10.1-DEV
icu: 57.1
modules: 48
openssl: 1.0.2j
os: darwin x64
3.10.8
0.24.6
emrekutlu added a commit to emrekutlu/ember-cli that referenced this issue Jun 29, 2017
@emrekutlu
Copy link
Contributor Author

I submitted a PR #7164.

But I believe using mutually exclusive values in different arguments is problematic. It is not obvious what will happen if I use both --classic and --pod together. Better be something like structure=pod but I suppose you don't use this kind of command arguments.

@webhive
Copy link

webhive commented Oct 29, 2017

Confirm it. Got this issue too.

emrekutlu added a commit to emrekutlu/ember-cli that referenced this issue Nov 6, 2017
sangm pushed a commit to sangm/ember-cli that referenced this issue Nov 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants