-
Notifications
You must be signed in to change notification settings - Fork 121
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
feat(shorebird_cli): add ShorebirdYamlAssetValidator
#1907
feat(shorebird_cli): add ShorebirdYamlAssetValidator
#1907
Conversation
packages/shorebird_cli/lib/src/validators/shorebird_yaml_asset_validator.dart
Outdated
Show resolved
Hide resolved
packages/shorebird_cli/lib/src/validators/shorebird_yaml_asset_validator.dart
Outdated
Show resolved
Hide resolved
packages/shorebird_cli/lib/src/validators/shorebird_yaml_asset_validator.dart
Outdated
Show resolved
Hide resolved
packages/shorebird_cli/lib/src/validators/shorebird_yaml_asset_validator.dart
Outdated
Show resolved
Hide resolved
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.
Thanks for the contribution! I left some comments, let me know what you think.
packages/shorebird_cli/lib/src/validators/shorebird_yaml_asset_validator.dart
Outdated
Show resolved
Hide resolved
packages/shorebird_cli/lib/src/validators/shorebird_yaml_asset_validator.dart
Outdated
Show resolved
Hide resolved
packages/shorebird_cli/test/src/validators/shorebird_yaml_asset_validator_test.dart
Outdated
Show resolved
Hide resolved
packages/shorebird_cli/test/src/validators/shorebird_yaml_asset_validator_test.dart
Outdated
Show resolved
Hide resolved
packages/shorebird_cli/test/src/validators/shorebird_yaml_asset_validator_test.dart
Outdated
Show resolved
Hide resolved
… static and public
…rjandev/shorebird into doctor/shorebird_yaml_asset_validator
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.
A couple minor comments, but otherwise looking good!
packages/shorebird_cli/lib/src/validators/shorebird_yaml_asset_validator.dart
Outdated
Show resolved
Hide resolved
…oesn't require a file
packages/shorebird_cli/test/src/validators/shorebird_yaml_asset_validator_test.dart
Outdated
Show resolved
Hide resolved
packages/shorebird_cli/test/src/validators/shorebird_yaml_asset_validator_test.dart
Outdated
Show resolved
Hide resolved
…rjandev/shorebird into doctor/shorebird_yaml_asset_validator
packages/shorebird_cli/lib/src/validators/shorebird_yaml_asset_validator.dart
Show resolved
Hide resolved
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.
LGTM thanks so much for the contribution! 💙
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.
Going to clean up one more test before merging.
ShorebirdYamlAssetValidator
Description
Includes a validator, doctor, and doctor fix integration for :
Attempts to handle most common, as well as not so common edge cases, includes tests.
Resolves #1888
Type of Change