Skip to content

Commit 510b3bf

Browse files
committed
Indentation for results adjusted for better readability
1 parent 2bd3797 commit 510b3bf

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

meta/classes/cve-check.bbclass

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,8 @@ def convert_to_sarif(d):
503503
output_file.write('\t\t\t\t"informationUri": "https://pvs-studio.com/en/docs/manual/0038/",\n')
504504
output_file.write('\t\t\t\t"version": "1.0.1",\n')
505505
output_file.write('\t\t\t\t"rules": ')
506-
json.dump(rulesList,output_file,indent=4) # dumping rules in file
506+
output_file.write('\n\t\t\t\t\t')
507+
json.dump(rulesList,output_file,indent=15) # dumping rules in file
507508
output_file.write('\t\t\t }\n') # closing of driver
508509
output_file.write('\t\t},\n') # closing of tool
509510
output_file.write('\t\t"results": ')
@@ -512,6 +513,6 @@ def convert_to_sarif(d):
512513
output_file.write('\n\t]')
513514
output_file.write('\n}') # closing bracket for schema
514515
output_file.close()
515-
516516

517-
517+
518+

0 commit comments

Comments
 (0)