deliver/lib/deliver/html_generator.rb in fastlane-2.99.1 vs deliver/lib/deliver/html_generator.rb in fastlane-2.100.0
- old
+ new
@@ -7,10 +7,11 @@
# * separated by newlines
KEYWORD_SPLITTER = /(?:,\s?|\r?\n)/
def run(options, screenshots)
begin
- html_path = self.render(options, screenshots, '.')
+ fastlane_path = FastlaneCore::FastlaneFolder.path
+ html_path = self.render(options, screenshots, fastlane_path)
rescue => ex
UI.error(ex.inspect)
UI.error(ex.backtrace.join("\n"))
okay = UI.input("Could not render HTML preview. Do you still want to continue?")
return if okay