From fb471accce8b72232912e3fad94f9a9735a275aa Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Tue, 31 Jan 2023 07:42:36 -0500 Subject: [PATCH] *Use basic truthy check --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 64c0935..1dc2b0a 100644 --- a/src/index.ts +++ b/src/index.ts @@ -76,7 +76,7 @@ export abstract class Client { export async function load( module?: string ): Promise { - if (callModule !== null && connectModule !== null) { + if (callModule && connectModule) { if (module) { return { callModule: callModule.bind(undefined, module),