redbug
redbug copied to clipboard
assert_dir/1 is broken for [] as input
When running the Erlang VM with $CWD in read-only, redbug:assert_dir/1
returns read
as the file_info. When the output file is []
it defaults to standard_io in redbug:get_fd/1
and in those cases assert_dir/1
should be a no-op.