Skip to content

Commit 81039a0

Browse files
author
Oleg Sukhodolsky
committed
fixed realpath for 1.8
1 parent eabac80 commit 81039a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ruby-debug-ide/commands/breakpoints.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def realpath(filename)
7272
if defined?(JRUBY_VERSION)
7373
java.io.File.new(filename).canonical_path
7474
elsif RUBY_VERSION < '1.9'
75-
File.path(Pathname.new(filename).realpath)
75+
Pathname.new(filename).realpath.to_s
7676
else
7777
File.realpath(filename)
7878
end

0 commit comments

Comments
 (0)