From fb16d23a55fe8e99c1e57e5b9f35235a7b09d387 Mon Sep 17 00:00:00 2001 From: gnuxie Date: Mon, 17 Oct 2022 13:43:42 +0100 Subject: [PATCH] typo updataCacheForChange->updateCacheForChange --- src/models/AccessControlUnit.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/models/AccessControlUnit.ts b/src/models/AccessControlUnit.ts index fb36751..9a5f1ac 100644 --- a/src/models/AccessControlUnit.ts +++ b/src/models/AccessControlUnit.ts @@ -164,7 +164,7 @@ class ListRuleCache { * Update the cache for a single `ListRuleChange`. * @param change The change made to a rule that was present in the policy list. */ - private updataCacheForChange(change: ListRuleChange): void { + private updateCacheForChange(change: ListRuleChange): void { if (change.rule.kind !== this.entityType || change.rule.recommendation !== this.recommendation) { return; } @@ -186,7 +186,7 @@ class ListRuleCache { * @param changes The changes that were made to list rules since the last update to this policy list. */ private updateCache(changes: ListRuleChange[]) { - changes.forEach(this.updataCacheForChange, this); + changes.forEach(this.updateCacheForChange, this); } }