Skip to content

Unnecessary config.json inclusion #46

@nerudaj

Description

@nerudaj

cfgfiles = glob.glob(os.path.join(BASE_PATH, 'modules', '**/*config.json'), recursive=True)

When bootstrapping modules, all files conforming to regex */*config.json inside modules folder are considered to be configuration files valid to bootstrap script. This can lead to a lot of confusing warnings since files like tsconfig.json will be parsed as well (even though they should not).

Is there a reason why original approach with scanning only for modulename/config.json was deprecated and replaced with wildcard regex?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions