diff --git a/packages/shared/src/workspace-commands.ts b/packages/shared/src/workspace-commands.ts index eb52dc781ce..c567b4f8d93 100644 --- a/packages/shared/src/workspace-commands.ts +++ b/packages/shared/src/workspace-commands.ts @@ -198,7 +198,7 @@ export function scoreWorkspaceRuntimeServiceMatch( return -1; } - if (command.port !== null && runtimeService.port !== null && runtimeService.port !== command.port) { + if (command.port !== null && runtimeService.port != null && runtimeService.port !== command.port) { return -1; }