Extract commit data on all build events if it's available
This commit is contained in:
parent
1238caf318
commit
3d45696f9a
|
@ -55,7 +55,7 @@ unless window.TravisApplication
|
|||
|
||||
type = Ember.get(Travis, 'mappings')[name]
|
||||
|
||||
if event == 'build:started' && data.build.commit
|
||||
if name == 'build' && data.build.commit
|
||||
# TODO: commit should be a sideload record on build, not mixed with it
|
||||
build = data.build
|
||||
commit = {
|
||||
|
|
Loading…
Reference in New Issue
Block a user