bliss

KISS in Lua
git clone git://bvnf.space/bliss.git
Log | Files | Refs | README | LICENSE

commit d81114b2d21b1276fe35c7f0e7f1c56d050bc666
parent 538bd0b2145e1718ae46ccabf8cb5522d403a9a2
Author: phoebos <ben@bvnf.space>
Date:   Wed, 18 Dec 2024 11:51:29 +0000

pkg.iscached: return filename or false rather than nil

Diffstat:
Mbliss/pkg.lua | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bliss/pkg.lua b/bliss/pkg.lua @@ -46,7 +46,7 @@ local function iscached(env, pkg, version) return f else local g = glob.glob(myglob, 0) - return g and g[1] or nil + return g and g[1] or false end end