Skip to content

Commit

Permalink
chore(cli): use absolute path
Browse files Browse the repository at this point in the history
  • Loading branch information
endersonmaia committed May 2, 2024
1 parent 61034d6 commit 4337c8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/cli/src/baseCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export abstract class BaseCommand<T extends typeof Command> extends Command {
}

protected getContextPath(...paths: string[]): string {
return path.join(".cartesi", ...paths);
return path.join(process.cwd(), ".cartesi", ...paths);
}

protected getMachineHash(): Hash | undefined {
Expand Down

0 comments on commit 4337c8e

Please sign in to comment.