Skip to content

Commit c4c12ea

Browse files
committed
try sub folder
1 parent 8324d1d commit c4c12ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

builder/core/project.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -769,12 +769,11 @@ def _project_from_path(path='.', name_hint=None):
769769
print(' Found project: {} at {}'.format(project_config['name'], path))
770770
project = Project._create_project(**project_config, path=path)
771771
return Project._cache_project(project)
772-
772+
773773
except Exception as e:
774774
print("Failed to parse config file", project_config_file, e)
775775
sys.exit(1)
776776

777-
print("TRACK PROJECT: goes into _project_from_path, is account there? {}".format(project_config['account']))
778777
# load any builder scripts and check them
779778
Scripts.load()
780779
# only construct a new instance of the class if there isn't one already in the cache
@@ -811,6 +810,7 @@ def find_project(name, hints=None):
811810
dir_matches_name = (os.path.basename(search_dir) == name) and os.path.isdir(search_dir)
812811
if os.path.isfile(os.path.join(search_dir, 'builder.json')) or dir_matches_name:
813812
project = Project._project_from_path(search_dir, name)
813+
print("TRACK PROJECT: find project in the search dir.")
814814

815815
if project:
816816
return project

0 commit comments

Comments
 (0)