From 5e4181a792e0e6b3310038151611a0613773e3a2 Mon Sep 17 00:00:00 2001 From: Jordan Ribbink Date: Thu, 6 Jun 2024 10:59:51 -0700 Subject: [PATCH] format --- extension/src/crypto-polyfill.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/extension/src/crypto-polyfill.ts b/extension/src/crypto-polyfill.ts index 3b90fde6..912ef7a7 100644 --- a/extension/src/crypto-polyfill.ts +++ b/extension/src/crypto-polyfill.ts @@ -1,7 +1,7 @@ import * as crypto from 'crypto' -if (!globalThis.crypto) { +if (globalThis.crypto == null) { Object.defineProperty(globalThis, 'crypto', { - value: crypto, + value: crypto }) -} \ No newline at end of file +}