satelito

Static [web] site (or page) generator (ssg) made with Lua script.
git clone git://soucy.cc/satelito.git
Log | Files | Refs | README

commit 34b9b099447d9b349e2583fa7579b658482e4971
parent f31d153265a19f3d37ceaa7ba37e398fe7461d0b
Author: Hugo Soucy <hugo@soucy.cc>
Date:   Fri,  9 Apr 2021 14:35:50 -0400

Remove comment

Diffstat:
Msatelito/dirtree.lua | 5++---
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/satelito/dirtree.lua b/satelito/dirtree.lua @@ -1,7 +1,8 @@ -- @module dirtree -local lfs = require 'lfs' -- luafilesystem local dirtree = {} -- +local lfs = require 'lfs' -- luafilesystem + function dirtree.get(dir) assert(dir and dir ~= '', 'directory parameter is missing or empty') @@ -18,8 +19,6 @@ function dirtree.get(dir) local attr = lfs.attributes(entry) - --print('DIR ' .. dir, 'ENTRY ' .. entry) - coroutine.yield(entry,dir,attr) if attr.mode == 'directory' then