- 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:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user