Skip to content

Commit

Permalink
fixed ctags for linux
Browse files Browse the repository at this point in the history
  • Loading branch information
emcf committed Mar 24, 2024
1 parent 29dcadc commit b4700eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compress.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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", "-",
Expand Down

0 comments on commit b4700eb

Please sign in to comment.