deliver/lib/deliver/html_generator.rb in fastlane-2.147.0 vs deliver/lib/deliver/html_generator.rb in fastlane-2.148.0

- old
+ new

@@ -33,11 +33,11 @@ end # Returns a path relative to FastlaneFolder.path # This is needed as the Preview.html file is located inside FastlaneFolder.path def render_relative_path(export_path, path) - export_path = Pathname.new(export_path) - path = Pathname.new(path).relative_path_from(export_path) + export_path = Pathname.new(File.expand_path(export_path)) + path = Pathname.new(File.expand_path(path)).relative_path_from(export_path) return path.to_path end # Renders all data available to quickly see if everything was correctly generated. # @param export_path (String) The path to a folder where the resulting HTML file should be stored.