ds300 / patch-package

Fix broken node modules instantly 🏃🏽‍♀️💨
MIT License
10.26k stars 287 forks source link

[Feat] Add `--create-issue` character limit check #469

Closed bombillazo closed 11 months ago

bombillazo commented 1 year ago

Fixes #328

This change adds a limit to the message sent to the GitHub create issue URL to avoid URL too long errors.

If the diff contents exceed 300 characters (this was chosen arbitrarily), the diff contents are replaced with a comment message replacement, and the console outputs the complete PR diff contents and instructs the user to copy/paste the diff into the PR description manually.

bombillazo commented 1 year ago

Hey @ds300 , did you see the updated code?

bombillazo commented 1 year ago

@ds300 does this look ok?

bombillazo commented 1 year ago

Hey @ds300 were you able to revise the updated code?