Skip to content

Commit fcbde45

Browse files
pvdzjdalton
authored andcommitted
Minor typos (#532)
1 parent 168807a commit fcbde45

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/commands/scan/fetch-report-data.mts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,15 +127,15 @@ export async function fetchReportData(
127127
return {
128128
ok: false as const,
129129
message: 'Unexpected API problem',
130-
cause: `We encountered an unexpected problem while requesting the Scan from the API: ${e?.message || '(no error message found)'}${e?.cause ? ` (cause: ${e.cause})` : ''}'}`
130+
cause: `We encountered an unexpected problem while requesting the Scan from the API: ${e?.message || '(no error message found)'}${e?.cause ? ` (cause: ${e.cause})` : ''}`
131131
}
132132
}),
133133
fetchSecurityPolicy().catch(e => {
134134
updatePolicy(`failure; unknown blocking problem occurred`)
135135
return {
136136
ok: false as const,
137137
message: 'Unexpected API problem',
138-
cause: `We encountered an unexpected problem while requesting the policy from the API: ${e?.message || '(no error message found)'}${e?.cause ? ` (cause: ${e.cause})` : ''}'}`
138+
cause: `We encountered an unexpected problem while requesting the policy from the API: ${e?.message || '(no error message found)'}${e?.cause ? ` (cause: ${e.cause})` : ''}`
139139
}
140140
})
141141
]).finally(() => {

src/commands/scan/output-scan-report.mts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,8 +193,8 @@ Configuration used to generate this report:
193193
194194
${
195195
report.alerts.size
196-
? `All the alerts from the scan with a policy set to at least "${report.options.reportLevel}"}.`
197-
: `The scan contained no alerts for with a policy set to at least "${report.options.reportLevel}".`
196+
? `All the alerts from the scan with a policy set to at least "${report.options.reportLevel}".`
197+
: `The scan contained no alerts with a policy set to at least "${report.options.reportLevel}".`
198198
}
199199
200200
${

0 commit comments

Comments
 (0)