forked from mrgoonie/cmai
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: resolve argument list too long error in prepare-commit-msg.sh
Fixes an argument list too long error in prepare-commit-msg.sh when making API calls. The issue was due to passing the entire request body as a single argument to `curl`. This commit now uses a temporary file to hold the request body, mitigating the error. * Replaced direct inclusion of the request body with a temporary file. * Added logging for cleanup of temporary files.
- Loading branch information
1 parent
f83547c
commit a9bb7fc
Showing
2 changed files
with
14 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters