Skip to content

Commit

Permalink
Merge pull request #1585 from ydah/fix-ProcessedSourceBufferName
Browse files Browse the repository at this point in the history
Correct `InternalAffairs/ProcessedSourceBufferName` cop
  • Loading branch information
pirj authored Feb 22, 2023
2 parents 808ce13 + 0a81cea commit f6e995c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rubocop/cop/rspec/file_path.rb
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ def routing_spec_path?
end

def expanded_file_path
File.expand_path(processed_source.buffer.name)
File.expand_path(processed_source.file_path)
end
end
end
Expand Down

0 comments on commit f6e995c

Please # to comment.