From ff812128e5276707727645dfaa1a40fa0473d540 Mon Sep 17 00:00:00 2001 From: tanjinzhou <415800467@qq.com> Date: Tue, 24 Mar 2020 17:48:41 +0800 Subject: [PATCH] style: scripts eslint --- scripts/syncStyleFromAntd.js | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/syncStyleFromAntd.js b/scripts/syncStyleFromAntd.js index d5def3630..6ec1019b4 100644 --- a/scripts/syncStyleFromAntd.js +++ b/scripts/syncStyleFromAntd.js @@ -30,6 +30,7 @@ async function syncFiles(data = []) { if (!fs.existsSync(toPath)) { fse.ensureDirSync(toPath); } + // eslint-disable-next-line no-console console.log('update style: ', path.join(toPath, itemData.name.replace('.tsx', '.js'))); const content = Base64.decode(itemData.content); fs.writeFileSync(path.join(toPath, itemData.name.replace('.tsx', '.js')), content);