Skip to content

Commit 25cd368

Browse files
committed
fixup
1 parent a1ea81d commit 25cd368

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

packages/wrangler/src/cloudchamber/deploy.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,7 @@ export async function buildContainer(
2424
const imageFullName = containerConfig.name + ":" + imageTag.split("-")[0];
2525
logger.log("Building image", imageFullName);
2626

27-
// if something already exists on remote, it will be {digest:string} and
28-
// otherwise, it will be the new image tag {tag:string}
29-
const updatedImageRef = await buildAndMaybePush(
27+
return await buildAndMaybePush(
3028
{
3129
tag: imageFullName,
3230
pathToDockerfile: containerConfig.dockerfile,
@@ -37,8 +35,6 @@ export async function buildContainer(
3735
!dryRun,
3836
containerConfig
3937
);
40-
41-
return updatedImageRef;
4238
}
4339

4440
export type DeployContainersArgs = {

0 commit comments

Comments
 (0)