Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding guarding on --print-seed-catalog so it won't exceed the deepestLevel #629

Merged
merged 1 commit into from
Nov 26, 2023

Conversation

flend
Copy link
Collaborator

@flend flend commented Nov 25, 2023

Previously --print-seed-catalog could exceed the max depth of shorter variants. printSeedCatalog now returns an errorCode and writes to an errorMessage.

@flend flend force-pushed the feature/guard_print_seeds_max_level branch 2 times, most recently from 39ccb5d to c4897b8 Compare November 25, 2023 09:33
@tmewett
Copy link
Owner

tmewett commented Nov 25, 2023

dont' really like the externing - couldn't we have printSeedCatalog do the validation and return an error code?

@flend flend force-pushed the feature/guard_print_seeds_max_level branch 2 times, most recently from 1a519d1 to 4ad6758 Compare November 26, 2023 08:20
@flend
Copy link
Collaborator Author

flend commented Nov 26, 2023

Okay @tmewett I've reimplemented as you suggested.

@flend flend force-pushed the feature/guard_print_seeds_max_level branch from 4ad6758 to 494a39b Compare November 26, 2023 08:27
@tmewett
Copy link
Owner

tmewett commented Nov 26, 2023

ah forgot about the error message, this works though, tyvm!

@tmewett tmewett merged commit af361dd into tmewett:release Nov 26, 2023
1 check 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.

2 participants