-
Notifications
You must be signed in to change notification settings - Fork 21
Closed
Description
Most changes look good except this, because it makes the error less clear:
ruby -Ilib -rpathname -e 'Pathname.new(42)'
/home/eregon/code/pathname/lib/pathname_builtin.rb:217:in 'File.path': no implicit conversion of Integer into String (TypeError)
@path = File.path(path).dup
^^^^
from /home/eregon/code/pathname/lib/pathname_builtin.rb:217:in 'Pathname#initialize'
from -e:1:in 'Class#new'
from -e:1:in '<main>'
And also ignoring TruffleRuby in CI is not nice, although I understand it's unfortunate it doesn't do the null check this change doesn't seem worth breaking it.
Originally posted by @eregon in #73 (comment)
Metadata
Metadata
Assignees
Labels
No labels