Skip to content

Commit 3863c6a

Browse files
MajorLiftmcmire
andauthored
Update packages/name-controller/src/NameController.ts
Co-authored-by: Elliot Winkler <[email protected]>
1 parent a145237 commit 3863c6a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/name-controller/src/NameController.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -443,8 +443,8 @@ export class NameController extends BaseController<
443443
const normalizedVariation = this.#normalizeVariation(variationKey, type);
444444

445445
if (
446-
![normalizedValue, normalizedVariation].every((key) =>
447-
isSafeDynamicKey(key),
446+
[normalizedValue, normalizedVariation].some((key) =>
447+
!isSafeDynamicKey(key),
448448
)
449449
) {
450450
return;

0 commit comments

Comments
 (0)