Skip to content

Commit

Permalink
Fixed the linting issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Kishore Garg committed Mar 15, 2024
1 parent 43a5e85 commit 033f030
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,7 @@ async function run(): Promise<void> {
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(
Expand All @@ -97,7 +95,7 @@ async function run(): Promise<void> {
);
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');
Expand Down

0 comments on commit 033f030

Please sign in to comment.