mirror of
https://github.com/smogon/sprites.git
synced 2026-08-27 04:06:43 -05:00
add newline to commands in makecmd
makes it easier to do `tup refactor`
This commit is contained in:
@@ -49,7 +49,7 @@ function makecmd(cmds)
|
||||
for newcmd in iter(flatten(cmds)) do
|
||||
newcmd = trim(newcmd)
|
||||
if cmd ~= "" then
|
||||
cmd = cmd .. " && "
|
||||
cmd = cmd .. " &&\n"
|
||||
end
|
||||
cmd = cmd .. newcmd
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user