Description :
When submitting a solution on Codewars, CodeHub successfully creates the file in the GitHub repository, but the source code is severely truncated. Only the latter half of the code is uploaded, completely missing the initial function declarations and top lines.
Steps to reproduce the behavior :
- Solve a challenge with a relatively long solution on Codewars (e.g. Chinese Numeral Encoder).
- Scroll down to the bottom of the Codewars code editor.
- Click "Submit" to push the final successful solution.
- Check the generated file in the GitHub repository.
Expected behavior :
The entire source code from the Codewars editor should be fetched and pushed to the repository.
Comparison Links (Example of the Issue) :
Desktop :
Description :
When submitting a solution on Codewars, CodeHub successfully creates the file in the GitHub repository, but the source code is severely truncated. Only the latter half of the code is uploaded, completely missing the initial function declarations and top lines.
Steps to reproduce the behavior :
Expected behavior :
The entire source code from the Codewars editor should be fetched and pushed to the repository.
Comparison Links (Example of the Issue) :
Desktop :