@@ -24,8 +24,8 @@ module.exports = {
24
24
const host = process . env . DEPLOY_PRIME_URL ;
25
25
26
26
if ( ! host ) {
27
- console . warn ( 'Can not determine Netlify host, not proceeding with on-page image replacement.' ) ;
28
- console . log ( 'Note: the Netlify CLI does not currently support the ability to determine the host locally, try deploying on Netlify.' ) ;
27
+ console . warn ( 'Cannot determine Netlify host, not proceeding with on-page image replacement.' ) ;
28
+ console . log ( 'Note: The Netlify CLI does not currently support the ability to determine the host locally, try deploying on Netlify.' ) ;
29
29
return ;
30
30
}
31
31
@@ -42,7 +42,7 @@ module.exports = {
42
42
const apiSecret = process . env . CLOUDINARY_API_SECRET ;
43
43
44
44
if ( ! cloudName ) {
45
- throw new Error ( 'Cloudinary Cloud Name required. Please use environment variable CLOUDINARY_CLOUD_NAME' ) ;
45
+ throw new Error ( 'A Cloudinary Cloud Name is required. Please set cloudName input or use the environment variable CLOUDINARY_CLOUD_NAME' ) ;
46
46
}
47
47
48
48
configureCloudinary ( {
@@ -91,8 +91,8 @@ module.exports = {
91
91
const host = process . env . DEPLOY_PRIME_URL ;
92
92
93
93
if ( ! host ) {
94
- console . warn ( 'Can not determine Netlify host, not proceeding with on-page image replacement.' ) ;
95
- console . log ( 'Note: the Netlify CLI does not currently support the ability to determine the host locally, try deploying on Netlify.' ) ;
94
+ console . warn ( 'Cannot determine Netlify host, not proceeding with on-page image replacement.' ) ;
95
+ console . log ( 'Note: The Netlify CLI does not currently support the ability to determine the host locally, try deploying on Netlify.' ) ;
96
96
return ;
97
97
}
98
98
@@ -108,7 +108,7 @@ module.exports = {
108
108
const apiSecret = process . env . CLOUDINARY_API_SECRET ;
109
109
110
110
if ( ! cloudName ) {
111
- throw new Error ( 'Cloudinary Cloud Name required. Please use environment variable CLOUDINARY_CLOUD_NAME' ) ;
111
+ throw new Error ( 'A Cloudinary Cloud Name is required. Please set cloudName input or use the environment variable CLOUDINARY_CLOUD_NAME' ) ;
112
112
}
113
113
114
114
configureCloudinary ( {
0 commit comments