Skip to content

Commit 6913d4e

Browse files
Rename handling of internal full path construction
* To not clash / be confusing with `resolved_path`.
1 parent d52d828 commit 6913d4e

File tree

1 file changed

+2
-2
lines changed
  • lib/html_proofer/attribute

1 file changed

+2
-2
lines changed

lib/html_proofer/attribute/url.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,12 +148,12 @@ def base64?
148148
end
149149

150150
def absolute_path
151-
path = resolve_path || @filename
151+
path = full_path || @filename
152152

153153
File.expand_path(path, Dir.pwd)
154154
end
155155

156-
def resolve_path
156+
def full_path
157157
return if path.nil? || path.empty?
158158

159159
base = if absolute_path?(path) # path relative to root

0 commit comments

Comments
 (0)