From 033f030757828533d4f3b6ae634a539300579034 Mon Sep 17 00:00:00 2001 From: Kishore Garg Date: Fri, 15 Mar 2024 09:21:33 +0530 Subject: [PATCH] Fixed the linting issue --- src/main.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/main.ts b/src/main.ts index cbe830a..f4d5093 100644 --- a/src/main.ts +++ b/src/main.ts @@ -83,9 +83,7 @@ async function run(): Promise { throw new Error(`IAC type: ${iacType} not supported`); } const planFile: string = await fs.readFile(scanFileRef, 'utf-8'); - logInfo( - `Successfully read IaC file from: ${scanFileRef}, IaC type: ${iacType}`, - ); + logInfo(`Successfully read IaC file from: ${scanFileRef}, IaC type: ${iacType}`); const scanStartTime = new Date().getTime(); const accessor = new IACAccessor( @@ -97,7 +95,7 @@ async function run(): Promise { ); logInfo(`Fetching violations for IaC file`); const violations: Violation[] = await accessor.scan(planFile); - logDebug(`Violations fetched from IaC scan API's`); + logDebug(`Violations fetched from IaC scan APIs`); const sarifReportGenerator: SarifReportGenerator = new SarifReportGenerator(version); logInfo('Processing report generation for violations fetched');