From 4a54eff46b816e7d2f1d69df24cc85780406e2f3 Mon Sep 17 00:00:00 2001 From: Oskari Timperi Date: Wed, 11 Apr 2018 22:36:43 +0300 Subject: fileExists() -> dirExists() --- src/nimpb_protoc.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- cgit v1.2.3