Skip to content

Commit bf3ef04

Browse files
GriffinMBJosé Valim
authored andcommitted
Fix operation passed to assert_no_null_byte (#6397)
1 parent 896d0b4 commit bf3ef04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/elixir/lib/file.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -955,7 +955,7 @@ defmodule File do
955955
def rm_rf(path) do
956956
path
957957
|> IO.chardata_to_string()
958-
|> assert_no_null_byte!("File.cp_r/3")
958+
|> assert_no_null_byte!("File.rm_rf/1")
959959
|> do_rm_rf({:ok, []})
960960
end
961961

0 commit comments

Comments
 (0)