diff --git a/compress.py b/compress.py index c3954af..49ab538 100644 --- a/compress.py +++ b/compress.py @@ -24,7 +24,7 @@ def compress_with_ctags(chunk: Chunk, extension: str) -> Chunk: # need custom options for ctags to work with typescript if language == "Typescript": cmd = [ - "./ctags" if os.name == 'nt' else "ctags", + "./ctags " if os.name == 'nt' else "ctags ", f"--languages={language}", "--output-format=json", f"--options=./ts.ctags", @@ -33,7 +33,7 @@ def compress_with_ctags(chunk: Chunk, extension: str) -> Chunk: ] else: cmd = [ - "./ctags" if os.name == 'nt' else "ctags" + "./ctags " if os.name == 'nt' else "ctags " f"--languages={language}", "--output-format=json", "-f", "-",