Skip to content

Conversation

geofflamrock
Copy link
Contributor

Recently we had a security alert which dependabot created an automatic PR to fix for us. However this PR doesn't run npm run build which leads to a CI failure as the dist/index.js file isn't up to date. We tried running this locally and pushing the results but this still fails, even though it appears that the files are the same.

It appears that the issue is to do with line encoding differences between the various OSs being used locally and in GitHub actions runners.

This PR forces lf newlines using tsc --newLine lf which seems to work.

@geofflamrock geofflamrock requested a review from a team as a code owner August 27, 2024 00:17
@geofflamrock geofflamrock merged commit a240717 into main Aug 27, 2024
6 checks passed
@geofflamrock geofflamrock deleted the geoffl/consistent-newlines branch August 27, 2024 00:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants