diff options
| author | hachem <im@hachem.wtf> | 2026-10-09 11:08:09 +0200 |
|---|---|---|
| committer | hachem <im@hachem.wtf> | 2026-10-09 11:08:09 +0200 |
| commit | e0572c37d970d601c17085bdb082cc6ef4356891 (patch) | |
| tree | f0b4d71c92978e74d127d7090d3e11380378a8b3 /gils/rm.rv | |
| parent | 8cb66100fe802c38d180ea29a11a902decf0fd8b (diff) | |
chore: fmt some revo code based on lung's example
Diffstat (limited to 'gils/rm.rv')
| -rw-r--r-- | gils/rm.rv | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -2,5 +2,9 @@ const context = env.ctx const parsed = arg_name(context.rest, 0) -if parsed.name:len() == 0 do fail("usage: rm <path>\n") end -else do fs:rm(expand_path(parsed.name)) end + +if parsed.name:len() == 0 do + fail("usage: rm <path>\n") +end else do + fs:rm(expand_path(parsed.name)) +end |
