Skip to content

Commit 44818f3

Browse files
Update libs/hooks/debounce/src/lib/debounce-hook.ts
Co-authored-by: Lukas Reining <[email protected]> Signed-off-by: Todd Baert <[email protected]>
1 parent 28a20cd commit 44818f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/hooks/debounce/src/lib/debounce-hook.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ export class DebounceHook implements BaseHook {
214214
maybeContext: EvaluationContext | void,
215215
): void {
216216
// cache the context if we have one, otherwise just a true to indicate we ran this stage
217-
this.cache.set(key, { ...cached, [stage]: maybeContext || true });
217+
this.cache.set(key, { ...cached, [stage]: maybeContext ?? true });
218218
}
219219

220220
private cacheError(key: string, stage: Stage, cached: HookStagesEntry | undefined, error: unknown): void {

0 commit comments

Comments
 (0)