- Fixed all of path_resolver.ts functions

- `resolveInode` functions now `resolvePointer`
- Fixed all resolve pointer -> path functions
This commit is contained in:
2026-11-10 12:02:21 +01:00
parent 584e594726
commit 00200b4c75
3 changed files with 56 additions and 31 deletions
+2 -2
View File
@@ -4,7 +4,7 @@ import { createErrorResult, createSuccessResult, type ResultSuccess } from "@cor
import { getCurrentSession } from "@core/session_manager";
import type { ShellState } from "@core/shell_state";
import type { InvalidArgumentsError, ShellError } from "@core/util/errors";
import { resolveInode } from "@core/util/path_resolver";
import { resolvePointer } from "@core/util/path_resolver";
export const COMMAND_NAME = "pwd";
@@ -23,7 +23,7 @@ async function main(io: CommandIO, state: ShellState, args: string[]): Promise<C
}
const session = getCurrentSession(state);
const path = resolveInode(state, session.cwd);
const path = resolvePointer(state, session.cwd);
io.writeStdout(new TextEncoder().encode(path));