diff options
author | Dominik Picheta <dominikpicheta@gmail.com> | 2017-05-02 22:39:39 +0100 |
---|---|---|
committer | Dominik Picheta <dominikpicheta@gmail.com> | 2017-05-02 22:39:39 +0100 |
commit | 27b571dd9598d144a1d15963d9c73e75d7d764c4 (patch) | |
tree | 5e26d95d647a3848442396b88f3c50e42b5731f9 /lib | |
parent | ecf278c4672aa680803ee82e1a59a686c765f226 (diff) | |
download | Nim-27b571dd9598d144a1d15963d9c73e75d7d764c4.tar.gz |
Fix different types for findExe's params across OS'.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pure/ospaths.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/ospaths.nim b/lib/pure/ospaths.nim index 71991e35a..7720fb2a6 100644 --- a/lib/pure/ospaths.nim +++ b/lib/pure/ospaths.nim @@ -569,7 +569,7 @@ when declared(getEnv) or defined(nimscript): ## ``["exe", "cmd", "bat"]``, on Posix ``[""]``. proc findExe*(exe: string, followSymlinks: bool = true; - extensions=ExeExts): string {. + extensions: openarray[string]=ExeExts): string {. tags: [ReadDirEffect, ReadEnvEffect, ReadIOEffect].} = ## Searches for `exe` in the current working directory and then ## in directories listed in the ``PATH`` environment variable. |