forked from openkylin/kylin-code
git提交时移除校验product.json中的extensionsGallery字段
This commit is contained in:
parent
9114699956
commit
2aac1ddf3a
|
@ -28,10 +28,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