mirror of
				https://github.com/janet-lang/janet
				synced 2025-10-31 07:33:01 +00:00 
			
		
		
		
	When directory isn't empty, print what is in it.
This commit is contained in:
		| @@ -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) | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Calvin Rose
					Calvin Rose