Skip to content

Commit

Permalink
chore: typo fix on singleton.js (#5279)
Browse files Browse the repository at this point in the history
clent -> client
  • Loading branch information
zhennann authored Dec 14, 2023
1 parent 8f54fe9 commit f5454ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/core/singleton.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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)
Expand Down

0 comments on commit f5454ba

Please sign in to comment.