Updated konsole
All checks were successful
Build Website / Build NPM Project (push) Successful in 21s
Build Website / Tag Version (push) Successful in 7s
Build Website / Build & Push Dockerfile (push) Successful in 1m4s

This commit is contained in:
2024-01-07 16:36:14 -05:00
parent 0046dc1cb4
commit b71b2092c3
11 changed files with 92 additions and 10 deletions

View File

@@ -6,7 +6,7 @@ window.cli.exec['rm'] = {
return 'Delete file or directory';
},
run: args => {
if(!args[0]) throw new Error('rm: missing operand');
window.cli.fs(args[0], null);
if(!args.length) throw new Error('rm: missing operand');
args.forEach(a => window.cli.fs(a, null));
}
}