diff --git a/libraries/rush-lib/src/logic/operations/CacheableOperationPlugin.ts b/libraries/rush-lib/src/logic/operations/CacheableOperationPlugin.ts index b83703d2fec..b8e7f6fca4a 100644 --- a/libraries/rush-lib/src/logic/operations/CacheableOperationPlugin.ts +++ b/libraries/rush-lib/src/logic/operations/CacheableOperationPlugin.ts @@ -107,8 +107,7 @@ export class CacheableOperationPlugin implements IPhasedCommandPlugin { for (const [operation, record] of recordByOperation) { const stateHash: string = (record as OperationExecutionRecord).calculateStateHash({ - inputsSnapshot, - buildCacheConfiguration + inputsSnapshot }); const { associatedProject, associatedPhase, runner, settings: operationSettings } = operation; if (!associatedProject || !associatedPhase || !runner) { diff --git a/libraries/rush-lib/src/logic/operations/OperationExecutionRecord.ts b/libraries/rush-lib/src/logic/operations/OperationExecutionRecord.ts index a730e7d7be4..4543149fb43 100644 --- a/libraries/rush-lib/src/logic/operations/OperationExecutionRecord.ts +++ b/libraries/rush-lib/src/logic/operations/OperationExecutionRecord.ts @@ -350,10 +350,7 @@ export class OperationExecutionRecord implements IOperationRunnerContext, IOpera } } - public calculateStateHash(options: { - inputsSnapshot: IInputsSnapshot; - buildCacheConfiguration: BuildCacheConfiguration; - }): string { + public calculateStateHash(options: { inputsSnapshot: IInputsSnapshot }): string { if (!this._stateHash) { const { inputsSnapshot } = options;