Fix pre-existing lint errors blocking the new CI gate

A too-long line in console.gd and trailing whitespace in matador_spawn.gd
predate this branch but fail gdlint, which the new CI runs on every push.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CmG3mQGVXZUPDVapmdbWZ1
This commit is contained in:
2026-09-05 00:18:21 +03:00
parent 70274f1773
commit f02185e859
2 changed files with 8 additions and 7 deletions
+2 -1
View File
@@ -619,7 +619,8 @@ func _cmd_level(parts: PackedStringArray) -> void:
var id := StringName(parts[1].to_lower()) var id := StringName(parts[1].to_lower())
var level := Run.get_level(id) var level := Run.get_level(id)
if level == null: if level == null:
_log_warn("Unknown level '%s'. Try: %s" % [parts[1], " ".join(Run.level_ids().map(func(i: StringName) -> String: return str(i)))]) var known := " ".join(Run.level_ids().map(func(i: StringName) -> String: return str(i)))
_log_warn("Unknown level '%s'. Try: %s" % [parts[1], known])
return return
Run.debug_level_override = level Run.debug_level_override = level
_log_ok("Level set to [b]%s[/b] — reloading…" % str(id)) _log_ok("Level set to [b]%s[/b] — reloading…" % str(id))