lib/danger_plugin.rb in danger-SwiftInfo-0.0.4 vs lib/danger_plugin.rb in danger-SwiftInfo-0.0.5
- old
+ new
@@ -18,11 +18,11 @@
# Run SwiftInfo and print the results to the PR.
# @param [String] path Path to the SwiftInfo binary.
# @return [void]
#
def run(path)
- binPath = path
- output = `#{binPath} -pullRequest -s`
+ binPath = path + " -s -pullRequest"
+ output = `#{binPath}`
html = output.sub("\n", "<br>")
message(output)
end
def self.instance_name