Skip to content

Commit e4234fb

Browse files
committed
remove unnecessary code
1 parent b41ab2b commit e4234fb

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/io/endpoint/unix_endpoint.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ def initialize(path, type = Socket::SOCK_STREAM, **options)
1414
if path.bytesize < 104
1515
super(Address.unix(path, type), **options)
1616
else
17-
path = File.expand_path(path) # make sure the path is absolute
1817
Dir.chdir(File.dirname(path)) do
1918
super(Address.unix(File.basename(path), type), **options)
2019
end

0 commit comments

Comments
 (0)