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

Generated import paths can sometimes be simplified #6183

Closed
cexbrayat opened this issue May 4, 2017 · 1 comment · Fixed by #6184
Closed

Generated import paths can sometimes be simplified #6183

cexbrayat opened this issue May 4, 2017 · 1 comment · Fixed by #6184
Labels
effort1: easy (hours) P5 The team acknowledges the request but does not plan to address it, it remains open for discussion

Comments

@cexbrayat
Copy link
Member

Bug Report or Feature Request (mark with an x)

- [ ] bug report -> please search issues before submitting
- [x] feature request

Versions.

ng 1.1.0-beta.0

Repro steps.

ng g m hello
ng g s hello2 -m hello/hello.module

generates a new module and a new service with this import:

import { Hello2Service } from './../hello2.service';

which could be simplified in

import { Hello2Service } from '../hello2.service';
cexbrayat added a commit to cexbrayat/angular-cli that referenced this issue May 4, 2017
cexbrayat added a commit to cexbrayat/angular-cli that referenced this issue May 5, 2017
@filipesilva filipesilva added effort1: easy (hours) P5 The team acknowledges the request but does not plan to address it, it remains open for discussion type: enhancement labels May 8, 2017
filipesilva pushed a commit to filipesilva/angular-cli that referenced this issue May 9, 2017
dond2clouds pushed a commit to d2clouds/speedray-cli that referenced this issue Apr 23, 2018
@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 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
effort1: easy (hours) P5 The team acknowledges the request but does not plan to address it, it remains open for discussion
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants