Skip to content

Commit b57c03a

Browse files
committed
fix(cli): cloud-config delete path types its record
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017ihL2dLQEXWGsE2SZ3Qn5F
1 parent 68adfc4 commit b57c03a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎packages/cli/src/utils/cloud-config.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ export async function writeCloudConfig(config: CloudConfig): Promise<void> {
191191

192192
/** Clear the cloud session; a recorded deploy target stays (see the header). */
193193
export async function deleteCloudConfig(): Promise<void> {
194-
await writeCloudFile(deployTargetHalf(await readCloudFileForWrite()));
194+
await writeCloudFile({ ...deployTargetHalf(await readCloudFileForWrite()) });
195195
}
196196

197197
/** The deploy-target half as stored; `{}` when nothing is recorded. */

0 commit comments

Comments
 (0)