mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 10:40:43 +00:00
chore: bump version to 2026.4.22
This commit is contained in:
@@ -22,7 +22,9 @@ function parseArgs(argv) {
|
||||
const args = { staged: false, base: "origin/main", head: "HEAD", paths: [] };
|
||||
for (let index = 0; index < argv.length; index += 1) {
|
||||
const arg = argv[index];
|
||||
if (arg === "--staged") {
|
||||
if (arg === "--") {
|
||||
continue;
|
||||
} else if (arg === "--staged") {
|
||||
args.staged = true;
|
||||
} else if (arg === "--base") {
|
||||
args.base = argv[++index] ?? "";
|
||||
@@ -39,6 +41,7 @@ function git(args) {
|
||||
return execFileSync("git", args, {
|
||||
stdio: ["ignore", "pipe", "pipe"],
|
||||
encoding: "utf8",
|
||||
maxBuffer: 16 * 1024 * 1024,
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user