- cat added
- touch beginnings - path resolver now returns a -1 on error - added a command template file for easier copy-pasting
This commit is contained in:
@@ -48,10 +48,8 @@ async function main(
|
||||
entries.push({ inode: session.cwd, path: "." });
|
||||
} else {
|
||||
for (const arg of args) {
|
||||
let inode;
|
||||
try {
|
||||
inode = resolvePath(state, arg);
|
||||
} catch {
|
||||
const inode = resolvePath(state, arg);
|
||||
if (inode === -1) {
|
||||
return {
|
||||
state,
|
||||
result: createErrorResult(
|
||||
|
||||
Reference in New Issue
Block a user