lib/middleman-robots/extension.rb in middleman-robots-1.3.3 vs lib/middleman-robots/extension.rb in middleman-robots-1.3.4
- old
+ new
@@ -25,10 +25,10 @@
f.puts(Generator.new(options.rules, options.sitemap).process)
end
end
def tmp_path
- File.expand_path('../../../tmp/robots/robots.txt', __FILE__)
+ File.expand_path('../../tmp/robots/robots.txt', __dir__)
end
end
end
end