Open davidperezgar opened 2 days ago
As asked in https://github.com/WordPress/plugin-check/issues/441#issuecomment-2195224108
I'm curious if the presence of any errors returned by the CLI command would be sufficient as a pass/fail signal, or if the command needs to also return a specific error code as well?
As asked in #441 (comment)
I'm curious if the presence of any errors returned by the CLI command would be sufficient as a pass/fail signal, or if the command needs to also return a specific error code as well?
I think is the easiest way. We have to be sure that errors haven't got any false positive.
We need to give a result from WPCLI that fits meta team in order to execute this plugin in form submission.
This results fits the need asked by Meta #441 (comment), so we could implement as well as this #478 , and it would be the minimal needs to achieve that.
The results has a json format like this:
{"pass":true,"errors":[],"warnings":[]}
The Pass value is true if it has no errors.
I'd need some feedback if the approach is correct, or we could do something more.