Skip to content

Commit 46480cd

Browse files
authored
[scan report] Support markdown, cleanup, add tests (#362)
* [scan report] Support markdown, cleanup, add tests * Add test for the map walker
1 parent e612014 commit 46480cd

File tree

7 files changed

+950
-110
lines changed

7 files changed

+950
-110
lines changed

src/commands/scan/cmd-scan-report.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ async function run(
134134
orgSlug,
135135
fullScanId,
136136
includeLicensePolicy: false, // !!license,
137-
includeSecurityPolicy: !!security,
137+
includeSecurityPolicy: typeof security === 'boolean' ? security : true,
138138
outputKind: json ? 'json' : markdown ? 'markdown' : 'text',
139139
filePath: file,
140140
fold: fold as 'none' | 'file' | 'pkg' | 'version',

0 commit comments

Comments
 (0)