Commit e10ce6a5 authored by Leo Iannacone's avatar Leo Iannacone

do not accidental add packages just built to status

parent 98fe0446
......@@ -60,9 +60,9 @@ class Debomatic
key += "/#{status.status}" if status.status?
return key
key = get_key(data)
if data.hasOwnProperty("success") and @status[key]?
if @status[key]? and data["success"]?
delete @status[key]
else
else if not @status[key]? and not data["success"]?
@status[key] = data
@sockets.emit e.status_update, data
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment