From fc0358ef0177d7cce3d8991e0b392032f4a88107 Mon Sep 17 00:00:00 2001 From: Sonny Piers Date: Sun, 7 May 2023 02:48:02 +0200 Subject: [PATCH] cli: Ignore hidden folders in interactive port Resolves #112 and resolves #57 --- blueprintcompiler/interactive_port.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/blueprintcompiler/interactive_port.py b/blueprintcompiler/interactive_port.py index ffc4292..1286f0b 100644 --- a/blueprintcompiler/interactive_port.py +++ b/blueprintcompiler/interactive_port.py @@ -89,6 +89,8 @@ def listdir_recursive(subdir): for file in files: if file in ["_build", "build"]: continue + if file.startswith("."): + continue full = os.path.join(subdir, file) if full == "./subprojects": # skip the subprojects directory