motyl

Opinionated blog-aware static site generator written in Ruby
Log | Files | Refs | README | LICENSE

commit 0fc6992ac47eabe9e2b3ee3fa3c1be5d4e379446
parent 7b8a6f71a5503149ebbdf65094c36fe59acf22cd
Author: Frederic Cambus <fred@statdns.com>
Date:   Sat,  5 Mar 2016 18:29:56 +0100

Renaming variables for the sake of consistency

Diffstat:
Mmotyl.lua | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/motyl.lua b/motyl.lua @@ -24,10 +24,10 @@ local markdown = require "markdown" local function readFile(path) local file = assert(io.open(path, "rb")) - local content = file:read "*all" + local data = file:read "*all" file:close() - return content + return data end -- Write data to file