netlify-plugin-cloudinary
netlify-plugin-cloudinary copied to clipboard
feat: warn when cloudName configs differ
Description
This PR adds a warning to the Netlify Cloudinary plugin when the cloudName configured via environment variable (CLOUDINARY_CLOUD_NAME) and the plugin input (cloudName) are both set but have different values. This helps users debug configuration issues by making mismatches visible in the build logs.
No new dependencies are required for this change.
Issue Ticket Number
Fixes https://github.com/colbyfayock/netlify-plugin-cloudinary/issues/102
Type of change
- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] This change requires a documentation update
Checklist
- [x] I have followed the contributing guidelines of this project as mentioned in CONTRIBUTING.md
- [x] I have created an issue ticket for this PR
- [x] I have checked to ensure there aren't other open Pull Requests for the same update/change?
- [x] I have performed a self-review of my own code
- [x] I have run tests locally to ensure they all pass
- [x] I have commented my code, particularly in hard-to-understand areas
- [x] I have made corresponding changes needed to the documentation
Deploy request for netlify-plugin-cloudinary pending review.
Visit the deploys page to approve it
| Name | Link |
|---|---|
| Latest commit | cbd622accd5237fccf5f8163aaf982005661439e |