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:
+2
-1
@@ -619,7 +619,8 @@ func _cmd_level(parts: PackedStringArray) -> void:
|
||||
var id := StringName(parts[1].to_lower())
|
||||
var level := Run.get_level(id)
|
||||
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
|
||||
Run.debug_level_override = level
|
||||
_log_ok("Level set to [b]%s[/b] — reloading…" % str(id))
|
||||
|
||||
Reference in New Issue
Block a user