Skip to content

Commit e52ed4c

Browse files
committed
License header should be prepended at the top
1 parent e45390b commit e52ed4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lice.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ end
173173
local function write_to_file(f, contents, append)
174174
if append then
175175
local previous_contents = get_file_contents(f)
176-
contents = previous_contents .. contents
176+
contents = contents .. '\n\n' .. previous_contents
177177
end
178178
local fhandle = assert(io_open(f, 'w+'),
179179
('Cannot open file <%s>'):format(f))

0 commit comments

Comments
 (0)