Skip to content

Commit

Permalink
🩹 Disable recipe/build.sh for conda/mamba
Browse files Browse the repository at this point in the history
  • Loading branch information
Freed-Wu committed Nov 11, 2024
1 parent 657a661 commit 9cab023
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/termux_language_server/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def get_filetype(uri: str) -> FILETYPE | Literal[""]:
dirname = os.path.basename(os.path.dirname(uri))
basename = os.path.basename(uri)
ext = uri.split(os.path.extsep)[-1]
if basename == "build.sh" and dirname != "scripts":
if basename == "build.sh" and dirname != "scripts" and dirname != "recipe":
return "build.sh"
if basename.endswith(".subpackage.sh"):
return "subpackage.sh"
Expand Down

0 comments on commit 9cab023

Please sign in to comment.