From 9131fcfc4eccd246d18880e8cb5ade08700c6cb9 Mon Sep 17 00:00:00 2001 From: ChenX Date: Mon, 7 Aug 2023 15:25:31 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=80=E5=8F=91:=E4=BC=98=E5=8C=96=E5=AF=BC?= =?UTF-8?q?=E5=87=BAue=20api=E7=9A=84=E8=84=9A=E6=9C=AC,=E9=81=BF=E5=85=8D?= =?UTF-8?q?=E8=BF=87=E5=A4=9A=E7=9A=84=E6=A0=A1=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apitsconfig.json | 3 +++ utils/GenEntityExp.ts | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/apitsconfig.json b/apitsconfig.json index 0892201f7..4a9fe2a7b 100644 --- a/apitsconfig.json +++ b/apitsconfig.json @@ -24,5 +24,8 @@ }, "include": [ "./src/**/*" + ], + "exclude": [ + "./src/Add-on/*" ] } diff --git a/utils/GenEntityExp.ts b/utils/GenEntityExp.ts index a0c71a71b..9393eb052 100644 --- a/utils/GenEntityExp.ts +++ b/utils/GenEntityExp.ts @@ -56,7 +56,7 @@ async function main() try { - await exec("tslint --config ./utils/tslint-clear-no-unused-imports.json --fix --project ."); + await exec("tslint --config ./utils/tslint-clear-no-unused-imports.json --fix --project apitsconfig.json"); } catch (error) { console.log(error);