You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 5, 2022. It is now read-only.
gutil.log("gulp-css-base64 : File not found "+gutil.colors.black.bgYellow(location));
153
+
log("Error: "+chalk.red(location)+", file not found",opts.verbose);
147
154
doneCallback();
148
155
return;
149
156
}
@@ -163,7 +170,6 @@ function encodeResource(img, file, opts, doneCallback) {
163
170
return;
164
171
}
165
172
}
166
-
167
173
}
168
174
169
175
functionfetchRemoteRessource(url,callback){
@@ -181,14 +187,12 @@ function fetchRemoteRessource(url, callback) {
181
187
182
188
request(url,function(error,response,body){
183
189
if(error){
184
-
gutil.log("gulp-css-base64 : Unable to get resource "+gutil.colors.black.bgYellow(url)+". Error "+gutil.colors.black.bgYellow(error.message));
185
190
callback(null);
186
191
return;
187
192
}
188
193
189
194
// Bail if we get anything other than 200
190
195
if(response.statusCode!==200){
191
-
gutil.log("gulp-css-base64 : Unable to get resource "+gutil.colors.black.bgYellow(url)+". Status code "+gutil.colors.black.bgYellow(response.statusCode));
192
196
callback(null);
193
197
return;
194
198
}
@@ -197,5 +201,11 @@ function fetchRemoteRessource(url, callback) {
0 commit comments