-
Notifications
You must be signed in to change notification settings - Fork 12k
Generating directive inserts wrong file name in the barrel #1434
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
Comments
Possibly a duplicate of #1305? |
Oh my bad, it's not related to #1418 at all! Reopening. |
Yes dupe of #1305, but this issue contains more details useful for the fix so I will keep this one open. |
We don't automatically add stuff to barrels anymore, so this issue is now obsolete. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Windows 10
angular-cli: 1.0.0-beta.10
node: 6.2.2
os: win32 x64
This creates the directive with a filename
animate-on-scroll.directive.ts
along with its spec file.index.ts now contains the following line:
Which results in an error, because no such file exists. It should instead be:
more information.
Not related.
It seems like the name of the file created is changed from PascalCase to kebab-case, but the entry in the barrel is not. I haven't dug inside angular-cli's code, so I can't help to identify in which file the issue is present, otherwise I would have made a pull request already.
The text was updated successfully, but these errors were encountered: