From c5a82b8cf519daf5cddcaab0b60a56e54243a951 Mon Sep 17 00:00:00 2001 From: chriswang521 Date: Thu, 6 Jun 2024 16:33:50 +0800 Subject: [PATCH] =?UTF-8?q?git=E6=8F=90=E4=BA=A4=E6=97=B6=E7=A7=BB?= =?UTF-8?q?=E9=99=A4=E6=A0=A1=E9=AA=8Cproduct.json=E4=B8=AD=E7=9A=84extens?= =?UTF-8?q?ionsGallery=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build/hygiene.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/build/hygiene.js b/build/hygiene.js index 3809036d..4c95e9fa 100644 --- a/build/hygiene.js +++ b/build/hygiene.js @@ -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); });