Skip to content

Commit

Permalink
fix conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
andyjessop committed Feb 6, 2025
1 parent 7117bba commit 592978c
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion packages/wrangler/src/utils/print-bindings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ export function printBindings(
analytics_engine_datasets,
text_blobs,
browser,
ai,
images,
ai,
version_metadata,
unsafe,
vars,
Expand Down Expand Up @@ -351,6 +351,22 @@ export function printBindings(
});
}

if (images !== undefined) {
const addImagesSuffix = createAddSuffix({
isProvisioning: context.provisioning,
isLocalDev: !!context.imagesLocalMode,
});
output.push({
name: friendlyBindingNames.images,
entries: [
{
key: "Name",
value: addImagesSuffix(images.binding),
},
],
});
}

if (ai !== undefined) {
const entries: [{ key: string; value: string | boolean }] = [
{ key: "Name", value: addSuffix(ai.binding) },
Expand Down

0 comments on commit 592978c

Please sign in to comment.