# HG changeset patch # User Matthew Wild # Date 1274929184 -3600 # Node ID 17121881cbf7564548972d297887c8c86d7d90c7 # Parent db9b079c1d335f7eb827edc42081123b6f0f4cce squish: Insert a space before ending our wrapper function, in case the module doesn't end with whitespace already diff -r db9b079c1d33 -r 17121881cbf7 squish.lua --- a/squish.lua Thu May 27 03:58:27 2010 +0100 +++ b/squish.lua Thu May 27 03:59:44 2010 +0100 @@ -225,7 +225,7 @@ if data then f:write("package.preload['", modulename, "'] = (function (...)\n"); f:write(data); - f:write("end)\n"); + f:write(" end)\n"); if opts.debug then f:write(string.format("package.preload[%q] = ___adjust_chunk(package.preload[%q], %q);\n\n", modulename, modulename, "@"..path));