mirror of
https://github.com/janet-lang/janet
synced 2024-12-24 07:20:27 +00:00
Update rmrf again to be more strict and failure early
This commit is contained in:
parent
074ae4fc0d
commit
6968275ddf
@ -4040,8 +4040,9 @@
|
||||
(rmrf (string x s y)))
|
||||
(try
|
||||
(os/rmdir x)
|
||||
([e f] (debug/stacktrace f e)
|
||||
(each y (os/dir x) (eprint " - " y)))))
|
||||
([e f]
|
||||
(each y (os/dir x) (eprint " - " y))
|
||||
(propagate e f))))
|
||||
(os/rm x))
|
||||
nil)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user