hachem.wtf
aboutsummaryrefslogtreecommitdiff
path: root/gils/rm.rv
diff options
context:
space:
mode:
authorhachem <im@hachem.wtf>2026-10-09 11:08:09 +0200
committerhachem <im@hachem.wtf>2026-10-09 11:08:09 +0200
commite0572c37d970d601c17085bdb082cc6ef4356891 (patch)
treef0b4d71c92978e74d127d7090d3e11380378a8b3 /gils/rm.rv
parent8cb66100fe802c38d180ea29a11a902decf0fd8b (diff)
chore: fmt some revo code based on lung's example
Diffstat (limited to 'gils/rm.rv')
-rw-r--r--gils/rm.rv8
1 files changed, 6 insertions, 2 deletions
diff --git a/gils/rm.rv b/gils/rm.rv
index 236d2ba..8c954f3 100644
--- a/gils/rm.rv
+++ b/gils/rm.rv
@@ -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