Read-only mirror — the public repositories of the Forgejo instance, refreshed every 10 minutes. The live instance (fg.dieschoenewolke.de) is reachable only over the VPN; clone here with https://git.dieschoenewolke.de/git/<owner>/<repo>.git.
summaryrefslogtreecommitdiff
path: root/dist/index.js
diff options
context:
space:
mode:
authorAiqiao Yan <55104035+aiqiaoy@users.noreply.github.com>2026-07-17 13:44:40 -0400
committerGitHub <noreply@github.com>2026-07-17 13:44:40 -0400
commit57fadabbbeb3a20058fa65b9a5b2975ba617855d (patch)
tree7e2412104c78b12cdd45ffabd152b7219bc1e701 /dist/index.js
parent352b30b96cc74c8ce95cc4c682fadf6a89d9eb63 (diff)
escape values passed to --unset (#2530)
Diffstat (limited to 'dist/index.js')
-rw-r--r--dist/index.js2
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;
}