Skip to content

Commit 0a70784

Browse files
nipunn1313Convex, Inc.
authored and
Convex, Inc.
committed
Check if deploymentFields is set - it's only set for cloud deployments (#36730)
Per feedback GitOrigin-RevId: 669bfed56a0d316fc6f2e01cd2b8c2f6f1ec36d5
1 parent 63cf2bd commit 0a70784

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cli/lib/mcp/tools/status.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ export const StatusTool: ConvexTool<typeof inputSchema, typeof outputSchema> = {
8989
selectionWithinProject.kind === "ownDev" &&
9090
!(
9191
deploymentSelection.kind === "existingDeployment" &&
92-
deploymentSelection.deploymentToActOn.source === "selfHosted"
92+
deploymentSelection.deploymentToActOn.deploymentFields === null
9393
)
9494
) {
9595
const prodDeployment: DeploymentSelectionWithinProject = { kind: "prod" };

0 commit comments

Comments
 (0)