aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/nimpb_protoc.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nimpb_protoc.nim b/src/nimpb_protoc.nim
index 951849a..0a7936e 100644
--- a/src/nimpb_protoc.nim
+++ b/src/nimpb_protoc.nim
@@ -46,5 +46,5 @@ proc getCompilerPath*(): string =
proc getProtoIncludeDir*(): string =
for path in paths:
- if fileExists(path / "include"):
+ if dirExists(path / "include"):
return path / "include"