Skip to content

refactor: remove formatSize duplication#28

Merged
elitan merged 1 commit intomainfrom
refactor/remove-formatsize-duplication
Dec 26, 2025
Merged

refactor: remove formatSize duplication#28
elitan merged 1 commit intomainfrom
refactor/remove-formatsize-duplication

Conversation

@elitan
Copy link
Owner

@elitan elitan commented Dec 26, 2025

Summary

  • Remove duplicate formatSize() functions from WAL commands
  • Use existing formatBytes() helper from src/utils/helpers.ts
  • Reduces code by ~20 lines

Closes #15

Test plan

  • Build passes (bun run build)

🤖 Generated with Claude Code

Replace duplicate formatSize() functions in WAL commands with the
existing formatBytes() helper from src/utils/helpers.ts.

Closes #15

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@elitan elitan merged commit e04b8b8 into main Dec 26, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

refactor: remove formatSize duplication

1 participant