Skip to content

Commit

Permalink
Fix yargs slice in character loading
Browse files Browse the repository at this point in the history
  • Loading branch information
avaer committed Feb 8, 2025
1 parent 7a05592 commit 0ab2c06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/agent/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export function parseArguments(): {
characters?: string;
} {
try {
return yargs(process.argv.slice(3))
return yargs(process.argv.slice(2))
.option("character", {
type: "string",
description: "Path to the character JSON file",
Expand Down

0 comments on commit 0ab2c06

Please sign in to comment.