From 3d45696f9a0e4b360dc75341c8a50a96f5220a41 Mon Sep 17 00:00:00 2001 From: Piotr Sarnacki Date: Thu, 26 Jun 2014 13:54:08 +0200 Subject: [PATCH] Extract commit data on all build events if it's available --- assets/scripts/app/app.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/scripts/app/app.coffee b/assets/scripts/app/app.coffee index c4608eb1..87fe5a2a 100644 --- a/assets/scripts/app/app.coffee +++ b/assets/scripts/app/app.coffee @@ -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 = {