Skip to content

Commit

Permalink
fix: undo
Browse files Browse the repository at this point in the history
  • Loading branch information
npenin committed Nov 18, 2024
1 parent afeac6a commit d4484d3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions packages/commands/src/serve-metadata.browser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { ErrorWithStatus } from '@akala/core';
import { Container } from './model/container.js';
import { handlers } from './protocol-handler.js';
import { Metadata } from './index.browser.js';
import $metadataCmd from './commands/$metadata.js';

export type ServeMetadata = Record<string, object>

Expand Down Expand Up @@ -52,8 +51,6 @@ export async function connectByPreference<T = unknown>(options: ServeMetadata, s
// eslint-disable-next-line no-constant-condition
while (true);

container.register($metadataCmd);

if (settings?.metadata)
registerCommands(settings.metadata.commands, processor, container);
else
Expand Down
3 changes: 0 additions & 3 deletions packages/commands/src/serve-metadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import { ErrorWithStatus } from '@akala/core';
import { Container } from './model/container.js';
import { ConnectionPreference } from './serve-metadata.browser.js';
import { handlers } from './protocol-handler.js';
import $metadataCmd from './commands/$metadata.js';

export type ServeMetadata = Record<string, object>

Expand Down Expand Up @@ -47,8 +46,6 @@ export async function connectByPreference<T = unknown>(options: ServeMetadata, s
// eslint-disable-next-line no-constant-condition
while (true);

container.register($metadataCmd);

if (settings?.metadata)
registerCommands(settings.metadata.commands, processor, container);
else
Expand Down

0 comments on commit d4484d3

Please sign in to comment.