-
Notifications
You must be signed in to change notification settings - Fork 12k
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
fix(init): ignore favicon #2617
Conversation
@@ -105,7 +105,8 @@ const InitCommand: any = Command.extend({ | |||
mobile: commandOptions.mobile, | |||
routing: commandOptions.routing, | |||
inlineStyle: commandOptions.inlineStyle, | |||
inlineTemplate: commandOptions.inlineTemplate | |||
inlineTemplate: commandOptions.inlineTemplate, | |||
ignoredFiles: ['favicon.ico'] |
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.
Can you change this prop to be ignoredUpdateFiles
?
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.
Sure. Done!
Just a nit, definitely a useful feature. Thanks! |
Avoid crashes when choosing to diff the favicon.ico during overwrite. Closes angular#2274
Avoid crashes when choosing to diff the favicon.ico during overwrite. Closes angular#2274 Close angular#2617
Avoid crashes when choosing to diff the favicon.ico during overwrite. Closes angular#2274 Close angular#2617
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. |
Avoid crashes when choosing to diff the favicon.ico during overwrite.
Closes #2274
I'm assuming people either want to keep their favicon or the default one, but as the option to overwrite would be there anyway... who doesn't want to diff a favicon.ico? So I think to avoid the crashes is better to ignore it when updating the cli.