We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5573aef commit 1381961Copy full SHA for 1381961
1 file changed
src/bin/commands/build.ts
@@ -814,11 +814,11 @@ export async function betaCodeSandboxBuild(argv: yargs.ArgumentsCamelCase<BuildC
814
// Cleanup temporary Dockerfile if created
815
if (dockerFileCleanupFn) {
816
await dockerFileCleanupFn();
817
- if (client) {
818
- await client.disconnect();
819
- client.dispose();
820
- client = undefined;
821
- }
+ }
+ if (client) {
+ await client.disconnect();
+ client.dispose();
+ client = undefined;
822
}
823
824
0 commit comments