mirror of
https://github.com/janet-lang/janet
synced 2025-01-11 08:00:27 +00:00
When directory isn't empty, print what is in it.
This commit is contained in:
parent
6cd35ed9c8
commit
074ae4fc0d
@ -4038,7 +4038,10 @@
|
||||
(def s (sep))
|
||||
(each y (os/dir x)
|
||||
(rmrf (string x s y)))
|
||||
(os/rmdir x))
|
||||
(try
|
||||
(os/rmdir x)
|
||||
([e f] (debug/stacktrace f e)
|
||||
(each y (os/dir x) (eprint " - " y)))))
|
||||
(os/rm x))
|
||||
nil)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user