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

Inconsistent folder name casing #5424

Closed
1 of 2 tasks
AsherFoster opened this issue Mar 15, 2017 · 2 comments · Fixed by #5437
Closed
1 of 2 tasks

Inconsistent folder name casing #5424

AsherFoster opened this issue Mar 15, 2017 · 2 comments · Fixed by #5437
Assignees

Comments

@AsherFoster
Copy link

AsherFoster commented Mar 15, 2017

Bug Report or Feature Request (mark with an x)

  • bug report -> please search issues before submitting
  • feature request

Versions.

macOS Sierra
@angular/cli: 1.0.0-rc.2
node: 7.4.0
os: darwin x64
@angular/common: 2.4.9
@angular/compiler: 2.4.9
@angular/core: 2.4.9
@angular/forms: 2.4.9
@angular/http: 2.4.9
@angular/platform-browser: 2.4.9
@angular/platform-browser-dynamic: 2.4.9
@angular/router: 3.4.9
@angular/cli: 1.0.0-rc.2
@angular/compiler-cli: 2.4.9

Repro steps.

ng new
ng g m exampleName
ng g c exampleName/anotherExample

The log given by the failure.

$ ng g m exampleName
installing module
create src/app/example-name/example-name.module.ts
$ ng g c exampleName/anotherExample
installing component
create src/app/exampleName/another-example/another-example.component.css
create src/app/exampleName/another-example/another-example.component.html
create src/app/exampleName/another-example/another-example.component.spec.ts
create src/app/exampleName/another-example/another-example.component.ts
update src/app/app.module.ts
(Emphasis on exampleName and example-name)

Desired functionality.

I would expect the directory names to be consistent (Both exampleName or example-name) instead of differing

Mention any other details that might be useful.

@Brocco Brocco self-assigned this Mar 15, 2017
@Brocco
Copy link
Contributor

Brocco commented Mar 15, 2017

The implementation of this behavior will only occur if the directory to be created does not already exist. So in the example above if src/app/exampleName already existed the case would not change.

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants