Skip to content

Commit 824b231

Browse files
committed
Add rubocop exception
Signed-off-by: Rony Xavier <[email protected]>
1 parent b42f4b2 commit 824b231

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/heimdall_tools/fortify_mapper.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,15 @@ def primaries(classid)
5555
findings.uniq
5656
end
5757

58+
# rubocop:disable Layout/LineEndStringConcatenationIndentation
5859
def snippet(snippetid)
5960
snippet = @snippets.select { |x| x['id'].eql?(snippetid) }.first
6061
"\nPath: #{snippet['File']}\n" \
6162
"StartLine: #{snippet['StartLine']}, " \
6263
"EndLine: #{snippet['EndLine']}\n" \
6364
"Code:\n#{snippet['Text']['#cdata-section'].strip}" \
6465
end
66+
# rubocop:enable Layout/LineEndStringConcatenationIndentation
6567

6668
def nist_tag(rule)
6769
references = rule['References']['Reference']

0 commit comments

Comments
 (0)