Skip to content

Commit

Permalink
moving correlationID to top
Browse files Browse the repository at this point in the history
  • Loading branch information
h0x0er committed Sep 26, 2022
1 parent 33f15fc commit 1c6bba3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ import { cacheFile, cacheKey, CompressionMethod, getCacheEntry } from "./cache";
var api_url = `https://${env}.api.stepsecurity.io/v1`;
var web_url = "https://app.stepsecurity.io";

console.log(`Step Security Job Correlation ID: ${correlation_id}`);

const confg = {
repo: process.env["GITHUB_REPOSITORY"],
run_id: process.env["GITHUB_RUN_ID"],
Expand Down Expand Up @@ -98,8 +100,6 @@ import { cacheFile, cacheKey, CompressionMethod, getCacheEntry } from "./cache";
verifyChecksum(downloadPath); // NOTE: verifying agent's checksum, before extracting
const extractPath = await tc.extractTar(downloadPath);

console.log(`Step Security Job Correlation ID: ${correlation_id}`);

if (!confg.disable_telemetry || confg.egress_policy === "audit") {
common.printInfo(web_url);
}
Expand Down

0 comments on commit 1c6bba3

Please sign in to comment.