Skip to content

Commit 948b826

Browse files
committed
Fix rubocop exception
1 parent dda0332 commit 948b826

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/jekyll-import/importers/wordpressdotcom.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def initialize(node)
5959
end
6060

6161
def text_for(path)
62-
subnode = @node.at_xpath('./' + path) || @node.at(path) || @node.children.find { |child| child.name == path }
62+
subnode = @node.at_xpath("./#{path}") || @node.at(path) || @node.children.find { |child| child.name == path }
6363
subnode.text
6464
end
6565

0 commit comments

Comments
 (0)