Restructure: remove separate parser

This commit is contained in:
Jonas Zeunert
2024-04-27 15:39:23 +02:00
parent e03a70cc05
commit 5cb869a9d8

View File

@@ -24,7 +24,7 @@ def convert(in_file: Path) -> str:
def write_output (output: str, in_file: Path, out_dir: Path) -> None:
filename = in_file.name
filename = in_file.name.split('.')[0] + ".js"
with open(filename, 'w') as file:
file.writelines(output)