-
Notifications
You must be signed in to change notification settings - Fork 0
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
refactor: ♻️ use checks in write_resource_properties()
#990
Conversation
Co-authored-by: Luke W. Johnston <[email protected]>
Co-authored-by: Signe Kirk Brødbæk <[email protected]>
Co-authored-by: Signe Kirk Brødbæk <[email protected]>
…checks-2-simple-helper-functions
…at/sprout-checks-6-check-package-properties
Co-authored-by: Luke W. Johnston <[email protected]>
…t/sprout-checks-7-check-properties
Co-authored-by: Luke W. Johnston <[email protected]>
…eck-error-matcher
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This could do with a couple more tests, but I expect the function to change a bit, so I'll add them a bit later.
Having looked at these functions a bit, maybe a natural organisation would be:
The big change here would be that |
write_resource_properties
write_resource_properties()
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Description
This PR switches to the new check functions in
write_resource_properties
.There is probably an argument for reorganising this function a bit, but in this PR I am just adding the check functions.
This PR needs an in-depth review.
Checklist
just run-all