From 57fadabbbeb3a20058fa65b9a5b2975ba617855d Mon Sep 17 00:00:00 2001 From: Aiqiao Yan <55104035+aiqiaoy@users.noreply.github.com> Date: Fri, 17 Jul 2026 13:44:40 -0400 Subject: escape values passed to --unset (#2530) --- dist/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dist') diff --git a/dist/index.js b/dist/index.js index b319687..06ae5d2 100644 --- a/dist/index.js +++ b/dist/index.js @@ -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; } -- cgit v1.2.3