Skip to content

Commit

Permalink
fix(cli): really fixing the typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Plopix committed Feb 14, 2025
1 parent 017c860 commit 70443cb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions components/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

All notable changes to this project will be documented in this file.

## [5.4.6]

- really fixing typo introduced in 5.4.4

## [5.4.5]

- fix typo introduced in 5.4.4
Expand Down
2 changes: 1 addition & 1 deletion components/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@crystallize/cli",
"version": "5.4.5",
"version": "5.4.6",
"description": "Crystallize CLI",
"module": "src/index.ts",
"repository": "https://github.com/CrystallizeAPI/crystallize-cli",
Expand Down
3 changes: 2 additions & 1 deletion components/cli/src/domain/use-cases/create-clean-tenant.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ const handler = async (
let imageMapping: Record<string, string> = {};
try {
addTraceLog(`Uploading ${images.length} images.`);
const { keys: imageMapping } = await uploadImages({
const imagResults = await uploadImages({
message: {
paths: images,
tenant: {
Expand All @@ -176,6 +176,7 @@ const handler = async (
},
} as Envelope<UploadImagesCommand>);

imageMapping = imagResults.keys;
addTraceLog(`${Object.keys(imageMapping).length} images Uploaded.`);
} catch (e) {
addTraceError(`Failed to upload images..`);
Expand Down

0 comments on commit 70443cb

Please sign in to comment.