From 090d10b42669376d2513ba8ccfb92945363d1cbd Mon Sep 17 00:00:00 2001 From: wSedlacek Date: Wed, 4 Jan 2023 16:49:53 -0800 Subject: [PATCH] fix(js): unique hash for each execution --- packages/js/src/executors/node/node.impl.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/js/src/executors/node/node.impl.ts b/packages/js/src/executors/node/node.impl.ts index f45acdc94f42a..4d2b6c8638be7 100644 --- a/packages/js/src/executors/node/node.impl.ts +++ b/packages/js/src/executors/node/node.impl.ts @@ -90,9 +90,8 @@ async function runProcess( ) { const execArgv = getExecArgv(options); - const hashed = hasher.hashArray(execArgv.concat(options.args)); - const hashedKey = JSON.stringify([uniqueKey, ...options.args]); + const hashed = hasher.hashArray(execArgv.concat(hashedKey)); hashedMap.set(hashedKey, hashed); const subProcess = fork(