Skip to content

Commit cc01029

Browse files
author
Oleg Sukhodolsky
committed
we do not need realpath for 1.8
1 parent 81039a0 commit cc01029

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-
Pathname.new(filename).realpath.to_s
75+
filename
7676
else
7777
File.realpath(filename)
7878
end

0 commit comments

Comments
 (0)