Skip to content

Commit

Permalink
Fix indentation of require shim
Browse files Browse the repository at this point in the history
  • Loading branch information
parnikkapore committed Jul 23, 2023
1 parent 9ed2e09 commit 004fe62
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions default.lua.do
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ fennel --no-compiler-sandbox --require-as-include --compile "${ORIGINAL}" |
F._mods = {};\
F._modc = {};\
function F.require(module)\
if F._modc[module] == nil then\
F._modc[module] = F._mods[module]()\
end\
return F._modc[module]\
if F._modc[module] == nil then\
F._modc[module] = F._mods[module]()\
end\
return F._modc[module]\
end\n' \
> $3

0 comments on commit 004fe62

Please sign in to comment.