You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! I'm using conversionType==='files' option in configuration (but the problem is also same for conversionType==='object'). But every time I re-generate my icons, Git sees all re-created *.ts files as changed, because they have LF endings. I'm on Windows, I have set up my Git as recommended by its docs: git config --global core.autocrlf true. How can I configure line endings, to avoid commiting my *.ts icons every time?
Yes, I fixed it for now, by creating .gitattributes file in project root, with these 2 lines in it:
I just wonder if there's a way to fix it from svg-to-ts side. I'm not 100% sure that svg-to-ts is the cause of the issue, so, I would love to hear an opinion.
Thank you!
The text was updated successfully, but these errors were encountered:
Hi! I'm using conversionType==='files' option in configuration (but the problem is also same for conversionType==='object'). But every time I re-generate my icons, Git sees all re-created *.ts files as changed, because they have
LF
endings. I'm on Windows, I have set up my Git as recommended by its docs:git config --global core.autocrlf true
. How can I configure line endings, to avoid commiting my *.ts icons every time?Yes, I fixed it for now, by creating
.gitattributes
file in project root, with these 2 lines in it:I just wonder if there's a way to fix it from
svg-to-ts
side. I'm not 100% sure thatsvg-to-ts
is the cause of the issue, so, I would love to hear an opinion.Thank you!
The text was updated successfully, but these errors were encountered: