Skip to content
Snippets Groups Projects
Commit 8ba503eb authored by Mike McQuaid's avatar Mike McQuaid
Browse files

resource: convert unpack target to Pathname.

parent 48e4fbc8
No related branches found
No related tags found
No related merge requests found
......@@ -62,6 +62,7 @@ class Resource
if block_given?
yield self
elsif target
target = Pathname.new(target) unless target.is_a? Pathname
target.install Dir['*']
end
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment