diff options
| author | Aiqiao Yan <55104035+aiqiaoy@users.noreply.github.com> | 2026-07-17 13:44:40 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-07-17 13:44:40 -0400 |
| commit | 57fadabbbeb3a20058fa65b9a5b2975ba617855d (patch) | |
| tree | 7e2412104c78b12cdd45ffabd152b7219bc1e701 /dist | |
| parent | 352b30b96cc74c8ce95cc4c682fadf6a89d9eb63 (diff) | |
escape values passed to --unset (#2530)
Diffstat (limited to 'dist')
| -rw-r--r-- | dist/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |
