git提交时移除校验product.json中的extensionsGallery字段
This commit is contained in:
parent
c89d581ecc
commit
c5a82b8cf5
|
@ -30,10 +30,10 @@ function hygiene(some, linting = true) {
|
||||||
const productJson = es.through(function (file) {
|
const productJson = es.through(function (file) {
|
||||||
const product = JSON.parse(file.contents.toString('utf8'));
|
const product = JSON.parse(file.contents.toString('utf8'));
|
||||||
|
|
||||||
if (product.extensionsGallery) {
|
// if (product.extensionsGallery) {
|
||||||
console.error(`product.json: Contains 'extensionsGallery'`);
|
// console.error(`product.json: Contains 'extensionsGallery'`);
|
||||||
errorCount++;
|
// errorCount++;
|
||||||
}
|
// }
|
||||||
|
|
||||||
this.emit('data', file);
|
this.emit('data', file);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue