Skip to content

Commit

Permalink
fix(cli): remove duplicate intent when cycles are found to create sha…
Browse files Browse the repository at this point in the history
…pe or pieces
  • Loading branch information
Plopix committed Feb 12, 2025
1 parent ff8e347 commit 1279819
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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.0",
"version": "5.4.1",
"description": "Crystallize CLI",
"module": "src/index.ts",
"repository": "https://github.com/CrystallizeAPI/crystallize-cli",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ const handler = async (envelope: Envelope<Query>, deps: Deps) => {
const operations: Operation[] = [];

const placeholders = cycles.flatMap((cycle) =>
cycle.map((node) => {
[...new Set(cycle)].map((node) => {
const [type, identifier] = node.split('/');
if (type === 'shape') {
const shape = shapeSet.get(identifier);
Expand Down

0 comments on commit 1279819

Please sign in to comment.