Skip to content

Commit e3b8f09

Browse files
committed
gh: Format json in bom.spdx.json
1 parent 8f955cc commit e3b8f09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/scripts/otp-compliance.es

+1-1
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ sbom_otp(#{sbom_file := SbomFile, write_to_file := Write, input_file := Input})
305305
Spdx = improve_sbom_with_info(Sbom, ScanResults),
306306
case Write of
307307
true ->
308-
file:write_file(SbomFile, json:encode(Spdx));
308+
file:write_file(SbomFile, json:format(Spdx));
309309
%% Should we not overwritte the given file?
310310
%% Output = json:encode(Spdx),
311311
%% file:write_file("otp.spdx.json", Output),

0 commit comments

Comments
 (0)