redbug icon indicating copy to clipboard operation
redbug copied to clipboard

assert_dir/1 is broken for [] as input

Open onno-vos-dev opened this issue 2 years ago • 0 comments

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.

onno-vos-dev avatar Oct 05 '22 14:10 onno-vos-dev