cngpac@1.0.1
Patch Changes
-
b26a1e5 - Thanks to @almahdi404 !
fix(git): handle double quotes in commit subjects
getFileAddCommitpreviously built thegit logoutput as an inline JSON string using--format={"hash": "%H", "subject": "%s", ...}. This causedJSON.parseto throw whenever a commit subject contained double quotes (e.g.fix: resolve "foo" issue).The format string is now replaced with a custom separator (
||CNGPAC_SEP||) and the output is split by that separator instead of parsed as JSON, making it robust against any characters in commit subjects.