mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
lib/pry/code/code_file.rb: fix typo in #code
This commit is contained in:
parent
e26725978c
commit
3a1dad7c3f
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ class Pry
|
|||
elsif Pry::Method::Patcher.code_for(@filename)
|
||||
Pry::Method::Patcher.code_for(@filename)
|
||||
elsif RbxPath.is_core_path?(@filename)
|
||||
File.read(RbxPath.convert_path_to_full(filename))
|
||||
File.read(RbxPath.convert_path_to_full(@filename))
|
||||
else
|
||||
abs_path = abs_path(@filename)
|
||||
@code_type = type_from_filename(abs_path)
|
||||
|
|
Loading…
Reference in a new issue