close #10, logs prettier

This commit is contained in:
Paul Liverman III 2018-05-11 13:49:25 -07:00
parent 8fae031e16
commit 853c905433

View File

@ -48,8 +48,11 @@ run_update = (branch) ->
for cmd in *commands for cmd in *commands
code, output = execute unpack cmd code, output = execute unpack cmd
insert exit_codes, code insert exit_codes, code
insert logs, output insert logs, cmd[1]
failure = true if code != 0 insert logs, " #{output\gsub "\n", "\n "}"
if code != 0
failure = true
break
log = concat logs, "\n" log = concat logs, "\n"