- Fixed all of path_resolver.ts functions
- `resolveInode` functions now `resolvePointer` - Fixed all resolve pointer -> path functions
This commit is contained in:
@@ -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));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user