Skip to content

Commit 49645b4

Browse files
theotherjimmyandrewleech
authored andcommitted
Clear custom-targets uppon setting new taregts.json location
1 parent 2540f01 commit 49645b4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/targets/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ def set_targets_json_location(location=None):
169169
"""Set the location of the targets.json file"""
170170
Target.__targets_json_location = (location or
171171
Target.__targets_json_location_default)
172+
Target.__extra_target_json_files = []
172173
# Invalidate caches, since the location of the JSON file changed
173174
CACHES.clear()
174175

0 commit comments

Comments
 (0)