-
-
Notifications
You must be signed in to change notification settings - Fork 84
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
Error when sync an empty file #128
Comments
I can't reproduce your issue. Syncing an empty file works fine for me. Could you share more of the logs? What does your |
Closing this for now because of a lack of response. Please reopen it if the issue persists @jerome-morgado. |
If the file hasn't any content ( maybe one end of line ) we have the issue |
Unfortunately, I can't reproduce this issue. Until you share more info I can't do anything about this. |
repo-file-sync-action/src/git.js Line 162 in b598643
|
🎉 This issue has been resolved in version 1.17.21 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
🐞 Describe the bug
When synchronize a file which is empty I have the following errors :
Synchronize Files
Cannot read property 'startsWith' of undefined
Synchronize Files
TypeError: Cannot read property 'startsWith' of undefined
📚 To Reproduce
Create a file with no content.
I created an empty docker-compose.yaml file
💡 Expected behavior
I expected to have my file syncronized
🖼️ Screenshots
⚙️ Environment
📋 Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: