diff --git a/packages/shared-lib-node/src/hash.ts b/packages/shared-lib-node/src/hash.ts index 10cc54eb..8e660969 100644 --- a/packages/shared-lib-node/src/hash.ts +++ b/packages/shared-lib-node/src/hash.ts @@ -11,8 +11,7 @@ import path from 'node:path'; */ export async function canSkipSeed(hashFilePath: string, ...paths: string[]): Promise { return ( - !!Number(process.env.ALLOW_TO_SKIP_SEED) || - (process.env.ALLOW_TO_SKIP_SEED || '').toLowerCase() === 'true' || + (!!Number(process.env.ALLOW_TO_SKIP_SEED) || (process.env.ALLOW_TO_SKIP_SEED || '').toLowerCase() === 'true') && !(await updateHashFromFiles(hashFilePath, ...paths)) ); }