From f5454ba47f4fc5bb55d45609a052a2ca10be56be Mon Sep 17 00:00:00 2001 From: zhennann Date: Thu, 14 Dec 2023 16:09:31 +0800 Subject: [PATCH] chore: typo fix on singleton.js (#5279) clent -> client --- lib/core/singleton.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/core/singleton.js b/lib/core/singleton.js index f327fcb0af..d0b9c29e27 100644 --- a/lib/core/singleton.js +++ b/lib/core/singleton.js @@ -34,7 +34,7 @@ class Singleton { return; } - // multi clent, use app[name].getInstance(id) + // multi client, use app[name].getInstance(id) if (options.clients) { Object.keys(options.clients).forEach(id => { const client = this.createInstance(options.clients[id], id); @@ -61,7 +61,7 @@ class Singleton { return; } - // multi clent, use app[name].getInstance(id) + // multi client, use app[name].getInstance(id) if (options.clients) { await Promise.all(Object.keys(options.clients).map(id => { return this.createInstanceAsync(options.clients[id], id)