We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5864d70 commit eabac80Copy full SHA for eabac80
1 file changed
lib/ruby-debug-ide/commands/breakpoints.rb
@@ -67,8 +67,8 @@ def help(cmd)
67
68
private
69
def realpath(filename)
70
- filename = File.expand_path(file) if file.index(File::SEPARATOR) || \
71
- File::ALT_SEPARATOR && file.index(File::ALT_SEPARATOR)
+ filename = File.expand_path(filename) if filename.index(File::SEPARATOR) || \
+ File::ALT_SEPARATOR && filename.index(File::ALT_SEPARATOR)
72
if defined?(JRUBY_VERSION)
73
java.io.File.new(filename).canonical_path
74
elsif RUBY_VERSION < '1.9'
0 commit comments