Closed (fixed)
Project:
Security Review
Version:
8.x-1.0-alpha1
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
29 Jun 2020 at 16:43 UTC
Updated:
22 Nov 2022 at 23:59 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
prudloff commentedThe attached patch makes the command return 1 if at least one check failed.
Comment #3
smustgrave commentedOn Drupal 9.5
Latest version of security review
Have ran drush security:review. drush security-review and not able to generate an issue.
If you are still seeing this error please reopen with an update issue summary and steps to replicate.
Comment #4
prudloff commentedI can still reproduce with 1.0.0-alpha2.
Here is how I test:
drush security:review --resultsecho $?)If tests succeed, the exit code should be 0; if a test fails, the exit code should be >0 (so the shell can now the command failed).
Comment #5
gregglesAdjusting the title to be more specific.
Comment #6
smustgrave commentedCan confirm now when running the command
drush security:review --results. I get
Failed to run drush security:review --results: exit status 1
Comment #7
smustgrave commentedCommitted in https://git.drupalcode.org/project/security_review/-/commit/c8546ba3c28b...