From 4cf2ebf4e46d6a5f88c1c5f890d369484d95f7ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E7=AB=8B=E5=B8=AE?= <3294713004@qq.com> Date: Thu, 17 Apr 2025 12:20:27 +0800 Subject: [PATCH] =?UTF-8?q?fix(boards):=20=E4=BF=AE=E5=A4=8D=E5=9C=A8micro?= =?UTF-8?q?python=E6=9D=BF=E5=8D=A1lib=E7=9B=AE=E5=BD=95=E4=B8=8D=E5=AD=98?= =?UTF-8?q?=E5=9C=A8=E6=97=B6=E4=B8=8D=E4=BC=9A=E5=88=9B=E5=BB=BAmap.json?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/build-libraries.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/build-libraries.py b/scripts/build-libraries.py index 8092367f..25f8ff89 100644 --- a/scripts/build-libraries.py +++ b/scripts/build-libraries.py @@ -28,9 +28,10 @@ if __name__ == "__main__": target_path = path.abspath(path.join(working_path, target_path)) output = None if not path.exists(target_path): - exit(0) + os.makedirs(target_path) if path.isfile(target_path): - exit(0) + os.remove(target_path) + os.makedirs(target_path) output = {} content = os.listdir(target_path) for i in content: