diff options
| author | Oskari Timperi <oskari.timperi@iki.fi> | 2018-04-11 22:36:43 +0300 |
|---|---|---|
| committer | Oskari Timperi <oskari.timperi@iki.fi> | 2018-04-11 22:36:43 +0300 |
| commit | 4a54eff46b816e7d2f1d69df24cc85780406e2f3 (patch) | |
| tree | 938ac46df193b1f56a11bdf395d55cfa86aea2cd | |
| parent | ee12442c3872c5c99b4575797410e5f564ef118b (diff) | |
| download | nimpb_protoc-master.tar.gz nimpb_protoc-master.zip | |
| -rw-r--r-- | src/nimpb_protoc.nim | 2 |
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" |
