File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ module.exports = {
32
32
const cloudName = process . env . CLOUDINARY_CLOUD_NAME || inputs . cloudName ;
33
33
34
34
if ( ! cloudName ) {
35
- throw new Error ( 'Cloudinary Cloud Name required. Please set cloudName input or use environment variable CLOUDINARY_CLOUD_NAME' ) ;
35
+ throw new Error ( 'A Cloudinary Cloud Name is required. Please set cloudName input or use the environment variable CLOUDINARY_CLOUD_NAME' ) ;
36
36
}
37
37
38
38
const functionsPath = INTERNAL_FUNCTIONS_SRC || FUNCTIONS_SRC ;
@@ -112,8 +112,8 @@ module.exports = {
112
112
const host = process . env . DEPLOY_PRIME_URL ;
113
113
114
114
if ( ! host ) {
115
- console . warn ( 'Can not determine Netlify host, not proceeding with on-page image replacement.' ) ;
116
- console . log ( 'Note: the Netlify CLI does not currently support the ability to determine the host locally, try deploying on Netlify.' ) ;
115
+ console . warn ( 'Cannot determine Netlify host, not proceeding with on-page image replacement.' ) ;
116
+ console . log ( 'Note: The Netlify CLI does not currently support the ability to determine the host locally, try deploying on Netlify.' ) ;
117
117
return ;
118
118
}
119
119
@@ -122,7 +122,7 @@ module.exports = {
122
122
const apiSecret = process . env . CLOUDINARY_API_SECRET ;
123
123
124
124
if ( ! cloudName ) {
125
- throw new Error ( 'Cloudinary Cloud Name required. Please use environment variable CLOUDINARY_CLOUD_NAME' ) ;
125
+ throw new Error ( 'Cloudinary Cloud Name required. Please use an environment variable CLOUDINARY_CLOUD_NAME' ) ;
126
126
}
127
127
128
128
configureCloudinary ( {
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ exports.handler = async function (event, context) {
15
15
const apiSecret = process . env . CLOUDINARY_API_SECRET ;
16
16
17
17
if ( ! cloudName ) {
18
- throw new Error ( 'Cloudinary Cloud Name required. Please set cloudName input or use environment variable CLOUDINARY_CLOUD_NAME' ) ;
18
+ throw new Error ( 'A Cloudinary Cloud Name is required. Please set cloudName input or use an environment variable CLOUDINARY_CLOUD_NAME' ) ;
19
19
}
20
20
21
21
configureCloudinary ( {
You can’t perform that action at this time.
0 commit comments