Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
AlecRafs authored Oct 22, 2024
1 parent ba78699 commit 8f176c3
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -212,11 +212,9 @@ async function run(): Promise<void> {
securityHubConfig,
autoClose
);

// Perform the sync and capture the results

const syncResults = await sync.sync();

// Set outputs based on sync results
const findingsCount = syncResults.findings.length;
core.setOutput('findings_count', findingsCount.toString());

Expand All @@ -234,7 +232,6 @@ async function run(): Promise<void> {
core.setOutput('resource_id', resourceIds);
core.setOutput('timestamp', timestamp);
} else {
// Set empty outputs if there are no findings
core.setOutput('severity', '');
core.setOutput('resource_id', '');
core.setOutput('timestamp', '');
Expand Down

0 comments on commit 8f176c3

Please sign in to comment.