diff --git a/dist/main.js b/dist/main.js index 008110b..c17211d 100644 --- a/dist/main.js +++ b/dist/main.js @@ -105,6 +105,7 @@ export class IdsToolbox { } async executeAsync() { try { + process.env.DETSYS_CORRELATION = JSON.stringify(this.getCorrelationHashes()); if (this.executionPhase === "main" && this.hookMain) { await this.hookMain(); } diff --git a/src/main.ts b/src/main.ts index 61a9176..a04e42f 100644 --- a/src/main.ts +++ b/src/main.ts @@ -185,6 +185,10 @@ export class IdsToolbox { private async executeAsync(): Promise { try { + process.env.DETSYS_CORRELATION = JSON.stringify( + this.getCorrelationHashes(), + ); + if (this.executionPhase === "main" && this.hookMain) { await this.hookMain(); } else if (this.executionPhase === "post" && this.hookPost) {