Automattic / vip-cli

The VIP CLI
https://docs.wpvip.com/vip-cli/
MIT License
58 stars 16 forks source link

fix: case mismatch in environment identifier matcher #1924

Closed luismulinari closed 2 months ago

luismulinari commented 2 months ago

Description

This PR addresses a bug involving a case mismatch in the environment identifier comparison.

With this fix, a case-insensitive comparison is now used to handle situations where there is a case discrepancy between the environment name and the provided input.

Pull request checklist

New release checklist

Steps to Test

  1. Check out PR.
  2. Run npm run build
  3. Run ./dist/bin/vip-logs.js @app.PrOdUcTiOn
  4. The logs should appear for the production enviroment.
github-actions[bot] commented 2 months ago

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails

Scanned Manifest Files

sonarcloud[bot] commented 2 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud