You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
makerst: Fix file name not appearing in error message
This commit is contained in:
@@ -913,9 +913,9 @@ def format_codeblock(code_type, post_text, indent_level, state): # types: str,
|
|||||||
|
|
||||||
if to_skip > indent_level:
|
if to_skip > indent_level:
|
||||||
print_error(
|
print_error(
|
||||||
"{}.xml: Four spaces should be used for indentation within ["
|
"{}.xml: Four spaces should be used for indentation within [{}].".format(
|
||||||
+ code_type
|
state.current_class, code_type
|
||||||
+ "].".format(state.current_class),
|
),
|
||||||
state,
|
state,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user