Skip to content

Commit

Permalink
refactor: remove unnecessary default array
Browse files Browse the repository at this point in the history
  • Loading branch information
paradoxuum committed Nov 22, 2024
1 parent 873d9aa commit 31325cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/shared/core/registry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export abstract class BaseRegistry<

constructor(protected readonly config: C) {
this.logger = new CenturionLogger(config.logLevel, "Registry");
this.globalGuards = [...config.guards] ?? [];
this.globalGuards = [...config.guards];

const tsImpl = (_G as Map<unknown, unknown>).get(script);
this.loadModule = t.interface({
Expand Down

0 comments on commit 31325cc

Please sign in to comment.