From a130e161dd16292fb23725e23639f1c90008440a Mon Sep 17 00:00:00 2001 From: Thomas Lake Date: Wed, 19 Sep 2018 20:42:52 +0100 Subject: [PATCH] Fix bootstrapped apps filter when no path specified --- .development/tilda_tools.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.development/tilda_tools.py b/.development/tilda_tools.py index 44424f3..8557aac 100755 --- a/.development/tilda_tools.py +++ b/.development/tilda_tools.py @@ -124,8 +124,11 @@ def main(): paths = args.paths if len(args.paths) else None if args.bootstrapped_apps: for k,val in list(resources.items()): + requested = paths and k in paths + bootstrapped = val.get("bootstrapped", False) if val.get("type", None) == "app": - if not k in paths and not val.get("bootstrapped", False): + if not (bootstrapped or (paths and requested)): + # App is not in the bootstrap list, and isn't explicitly requested if args.verbose: print("Removing app '{0}' from sync list".format(k)) del resources[k]