Skip to content

Commit e05bfd6

Browse files
committed
Style cleanup
1 parent f57d3ea commit e05bfd6

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

Diff for: tasks/read_file.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
}
1313
else
1414
result = {
15-
'content' => content
15+
'content' => content,
1616
}
1717
ensure
1818
puts result.to_json

Diff for: tasks/trusted_facts.rb

+2-4
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,9 @@
2828
end
2929
end
3030

31-
alt_names = cert.extensions.select do |ext|
32-
ext.oid == 'subjectAltName'
33-
end.map do |ext|
31+
alt_names = cert.extensions.select { |ext| ext.oid == 'subjectAltName' }.map { |ext|
3432
ext.value.split(', ').map { |str| str[4..-1] }
35-
end.first
33+
}.first
3634

3735
result = {
3836
'certname' => certname,

0 commit comments

Comments
 (0)