Open colbyfayock opened 1 year ago
Hey, please allow me to fix this
module.exports = {
onPreBuild: ({ inputs, utils }) => {
const envCloudName = process.env.CLOUDINARY_CLOUD_NAME;
const inputCloudName = inputs.cloudName;
if (envCloudName && inputCloudName && envCloudName !== inputCloudName) {
utils.build.warn(`Cloudinary cloud names differ: Environment Cloud Name is "${envCloudName}" but Plugin Cloud Name is "${inputCloudName}".`);
}
},
};
all yours!
thankyou!!
Feature Request
Is your feature request related to a problem? Please describe.
You can configure cloud name in both an environment variable and in a plugin input - if both are different values, we should warn in the logs that this is the case to help debugging.