Updated new_source tool to respect a modules set C++ namespace. Fixed generation of modules with templates without config.json.
This commit is contained in:
@@ -112,7 +112,10 @@ def load_template_config() -> None:
|
||||
global _template_config
|
||||
config_file = _template_folder / 'config.json'
|
||||
if not config_file.exists():
|
||||
_template_config = {}
|
||||
_template_config = _TemplateConfig(
|
||||
options=[],
|
||||
new_sources=[]
|
||||
)
|
||||
return
|
||||
with config_file.open('r') as f:
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user