-
Notifications
You must be signed in to change notification settings - Fork 12k
chore(generate): update routing files & add --routing to ng new #2361
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
Conversation
const files = fs.readdirSync(pathToCheck) | ||
.filter(fileName => !fileName.endsWith('routing.module.ts')) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's a scenario where someone has a single module called routing
and we'll never find it, but tbh I don't think we should special-case it this far... when we refactor we'll handle it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is going to go away, the file name string matching is temporary.
|
@oravecz include the options after the command + arguements. So in your example, run"
|
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. |
No description provided.