Skip to content

Conversation

mablr
Copy link
Contributor

@mablr mablr commented Oct 5, 2025

Motivation

Close #11975
clearer code / better maintainability

Solution

  • Remove useless/unclear pretty args for fetch_and_print_storage && print_storage
  • Directly call shell::is_json() and shell::is_markdown() in print_storage

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

- Remove useless/unclear `pretty` args for `fetch_and_print_storage` && `print_storage`
- Directly call `shell::is_json()` and shell::is_markdown() in `print_storage`
Copy link
Contributor

@onbjerg onbjerg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

makes sense, ty

@onbjerg onbjerg self-assigned this Oct 6, 2025
@onbjerg onbjerg merged commit b43f5bb into foundry-rs:master Oct 6, 2025
16 checks passed
@github-project-automation github-project-automation bot moved this to Done in Foundry Oct 6, 2025
@jenpaff jenpaff moved this from Done to Completed in Foundry Oct 6, 2025
@jenpaff jenpaff removed the status in Foundry Oct 6, 2025
@jenpaff jenpaff moved this to Completed in Foundry Oct 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Completed

Development

Successfully merging this pull request may close these issues.

chore(cast): remove redundant pretty parameter

3 participants