Skip to content

Commit 9b88bd0

Browse files
author
José Valim
committed
Fix type in deprecation
1 parent 9e37412 commit 9b88bd0

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
@@ -135,7 +135,7 @@ defmodule File do
135135

136136
@doc false
137137
def dirname(path) do
138-
IO.puts "Path.dirname is deprecated, please use Path.dirname instead"
138+
IO.puts "File.dirname is deprecated, please use Path.dirname instead"
139139
Exception.print_stacktrace
140140
FN.dirname(path)
141141
end

0 commit comments

Comments
 (0)