Skip to content

Commit 6356a0e

Browse files
authored
Removes the strict character limit on compiler/run log outputs (#8)
* Bumps the character limit for run/compile logs up to 5000 characters * Bumps the version to 0.2.0 * Sends the full log outputs to the cog instead of strictly clamped outputs
1 parent decf88b commit 6356a0e

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "od-compiler"
3-
version = "0.1.4"
3+
version = "0.2.0"
44
description = "OpenDream compiler listener"
55
authors = ["Crossedfall <ping@crossedfall.io>"]
66
maintainers = ["Crossedfall <ping@crossedfall.io>"]

src/od_compiler/util/utilities.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,6 @@ def splitLogs(logs: str, killed: bool = False) -> dict[str, str]:
5757
compile_log = matches.group(1)
5858
run_log = matches.group(2)
5959

60-
compile_log = (compile_log[:1200] + "...") if len(compile_log) > 1200 else compile_log
61-
run_log = (run_log[:1200] + "...") if len(run_log) > 1200 else run_log
62-
6360
parsed["compiler"] = compile_log
6461
parsed["server"] = run_log
6562

0 commit comments

Comments
 (0)