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 product = JSON.parse(file.contents.toString('utf8'));
|
||||
|
||||
if (product.extensionsGallery) {
|
||||
console.error(`product.json: Contains 'extensionsGallery'`);
|
||||
errorCount++;
|
||||
}
|
||||
// if (product.extensionsGallery) {
|
||||
// console.error(`product.json: Contains 'extensionsGallery'`);
|
||||
// errorCount++;
|
||||
// }
|
||||
|
||||
this.emit('data', file);
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue