addressing lint issues

This commit is contained in:
Ahmed ElMallah
2024-11-20 21:41:54 +00:00
parent eee97d8b03
commit c89b41fdc6
2 changed files with 4 additions and 7 deletions
+4 -4
View File
@@ -210,7 +210,7 @@ async function run(): Promise<void> {
}
}
function printVulnerabilitiesBlock(
async function printVulnerabilitiesBlock(
addedChanges: Changes,
minSeverity: Severity,
warnOnly: boolean
@@ -253,7 +253,7 @@ function printChangeVulnerabilities(change: Change): boolean {
return change.vulnerabilities.length > 0
}
function printLicensesBlock(
async function printLicensesBlock(
invalidLicenseChanges: Record<string, Changes>,
warnOnly: boolean
): Promise<boolean> {
@@ -383,10 +383,10 @@ function printScannedDependencies(changes: Changes): void {
})
}
function printDeniedDependencies(
async function printDeniedDependencies(
changes: Changes,
config: ConfigurationOptions
): Promise<boolean> {
): Promise<boolean> {
return core.group('Denied', async () => {
let issueFound = false