From 47c37558a9e83614c4b13cd2dd19aec9c3d60638 Mon Sep 17 00:00:00 2001 From: annabunches Date: Sun, 1 Aug 2021 21:31:39 -0400 Subject: [PATCH] Fix compileall bug. --- compileall.ks | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/compileall.ks b/compileall.ks index 2bbb02d..7580f0f 100644 --- a/compileall.ks +++ b/compileall.ks @@ -18,9 +18,11 @@ function compileHere { list files in fileList. for f in fileList { - if f:ISFILE and f:EXTENSION = "ks" { - print "Compiling '" + f:NAME + "'.". - compile f. + if f:ISFILE { + if f:EXTENSION = "ks" { + print "Compiling '" + f:NAME + "'.". + compile f. + } } else if f:NAME[0] <> "." { compileDir(f). }