From 27b571dd9598d144a1d15963d9c73e75d7d764c4 Mon Sep 17 00:00:00 2001 From: Dominik Picheta Date: Tue, 2 May 2017 22:39:39 +0100 Subject: [PATCH] Fix different types for findExe's params across OS'. --- lib/pure/ospaths.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pure/ospaths.nim b/lib/pure/ospaths.nim index 71991e35a1..7720fb2a6e 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.