Skip to content

Commit 5a4f3d0

Browse files
committed
Address readstring deprecation
1 parent db5c746 commit 5a4f3d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/path.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -701,7 +701,7 @@ function Base.chmod(path::AbstractPath, symbolic_mode::AbstractString; recursive
701701
end
702702
end
703703

704-
Base.read(path::AbstractPath) = open(readstring, String(path))
704+
Base.read(path::AbstractPath) = read(String(path), String)
705705

706706
function Base.write(path::AbstractPath, content::AbstractString, mode="w")
707707
open(String(path), mode) do f

0 commit comments

Comments
 (0)