Skip to content

chore(server): simplify sharp edit code#28249

Merged
mertalev merged 3 commits intomainfrom
chore/server-edit-cleanup
May 6, 2026
Merged

chore(server): simplify sharp edit code#28249
mertalev merged 3 commits intomainfrom
chore/server-edit-cleanup

Conversation

@mertalev
Copy link
Copy Markdown
Member

@mertalev mertalev commented May 5, 2026

Description

The crop ternaries are dead code inside the if (crop) condition, the metadata call is dead once the fallback is removed, and there's no need to call .affine if there's no affine operation.

@mertalev mertalev merged commit 6580394 into main May 6, 2026
53 checks passed
@mertalev mertalev deleted the chore/server-edit-cleanup branch May 6, 2026 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants