Skip to content

Incomplete code submission / Code is truncated when pushing to GitHub #11

@JuneChen1

Description

@JuneChen1

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 :

  1. Solve a challenge with a relatively long solution on Codewars (e.g. Chinese Numeral Encoder).
  2. Scroll down to the bottom of the Codewars code editor.
  3. Click "Submit" to push the final successful solution.
  4. 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 :

  • Browser [chrome]

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions