- Fixed a bug in serializer that didnt account for parsed inodes to the inode index on the vdisk

- Fixed the touch command (for now only creates files)
- Fixed a minor bug in ls where it wouldnt return the correct result when a path provided in the args wouldnt resolve
This commit is contained in:
2026-11-20 10:35:44 +01:00
parent af6a9c8bda
commit 204d713f91
4 changed files with 34 additions and 27 deletions
+4 -2
View File
@@ -219,8 +219,10 @@ async function main(io: CommandIO, state: ShellState, args: string[]): Promise<C
entries.push({ ptr: session.cwd, path: "." });
} else {
for (const path of paths) {
const ptr = resolvePath(state, path);
if (!state.filesystem.exists(ptr)) {
let ptr;
try {
ptr = resolvePath(state, path);
} catch {
return {
state,
result: createErrorResult(