validate method
Implementation
@override
Future<ValidationCheck> validate(ReleaseContext context) async {
final configured = _client.isProjectConfigured(context.projectPath);
if (!configured) {
return ValidationCheck(
name: name,
status: CheckStatus.failed,
message:
'Target project at path "${context.projectPath}" is missing shorebird.yaml. Run "shorebird init" in your project directory to configure Shorebird.',
);
}
return ValidationCheck(
name: name,
status: CheckStatus.passed,
message: 'Found valid shorebird.yaml configuration.',
);
}