INNER CODE UNIT · JavaScript

approvalMatch

rancher/terraform-provider-rancher2 · agent-scripts/after-invoke.js:217

  const approvalMatch = /approved|approval|perfect|pass/i.test(report);
  if (!approvalMatch) {
    errors.push('Review report must contain an explicit approval status declaration.');
  }

  return {
    valid: errors.length === 0,
    errors,
  };
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…