Skip to content

Commit 770d320

Browse files
committed
Bold the labels in the content
1 parent 9054b3e commit 770d320

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/cc/engine/bundler_audit.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def remediation_points(current_version, raw_solution)
101101

102102
def content_body(raw_issue_hash)
103103
%w[Advisory Criticality URL Solution].map do |key|
104-
"#{key}: #{raw_issue_hash[key]}"
104+
"**#{key}**: #{raw_issue_hash[key]}"
105105
end.join("\n\n")
106106
end
107107
end

spec/cc/engine/bundler_audit_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ module CC::Engine
3737
lines: { begin: nil, end: nil }
3838
},
3939
content: {
40-
body: "Advisory: OSVDB-91452\n\nCriticality: Medium\n\nURL: http://www.osvdb.org/show/osvdb/91452\n\nSolution: upgrade to ~> 2.3.18, ~> 3.1.12, >= 3.2.13"
40+
body: "**Advisory**: OSVDB-91452\n\n**Criticality**: Medium\n\n**URL**: http://www.osvdb.org/show/osvdb/91452\n\n**Solution**: upgrade to ~> 2.3.18, ~> 3.1.12, >= 3.2.13"
4141
},
4242
}.to_json
4343
io = StringIO.new

0 commit comments

Comments
 (0)