Fix bug with length

This commit is contained in:
Joey Yakimowich-Payne 2019-09-07 09:12:32 -06:00
commit 638c9b4a5a

View file

@ -22,7 +22,7 @@ proc execAction*(cmd: string): string =
when defined(Linux) or defined(MacOSX):
ccmd = "bash -c '" & cmd & "'"
echo "Running '" & ccmd[0..min(64, len(ccmd))] & "'"
echo "Running '" & ccmd[0..<min(64, len(ccmd))] & "'"
return execProc(ccmd)
proc extractZip*(zipfile: string) =