3
0
Fork 0
mirror of https://code.forgejo.org/actions/checkout.git synced 2026-07-29 07:33:48 +00:00

escape values passed to --unset

This commit is contained in:
Aiqiao Yan 2026-07-17 17:14:09 +00:00
parent 12cd2235ef
commit f43caed52e
2 changed files with 2 additions and 2 deletions

2
dist/index.js vendored
View file

@ -35913,7 +35913,7 @@ class GitCommandManager {
else {
args.push(globalConfig ? '--global' : '--local');
}
args.push('--unset', configKey, configValue);
args.push('--unset', configKey, regexp_helper_escape(configValue));
const output = await this.execGit(args, true);
return output.exitCode === 0;
}