Skip to content

Commit

Permalink
🐛 Fix wrong error of export
Browse files Browse the repository at this point in the history
  • Loading branch information
Freed-Wu committed Oct 28, 2023
1 parent b038136 commit 8da40b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/autotools_language_server/finders.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def __call__(self, uni: UNI) -> bool:
return (
uni.node.type == "word"
and parent.type == "list"
and option != "-include"
and option == "include"
and not os.path.isfile(path)
)
return False
Expand Down

0 comments on commit 8da40b3

Please sign in to comment.