Fix ansible-test empty diff handling on Shippable.

This commit is contained in:
Matt Clay 2017-04-08 21:45:57 -07:00
parent 1cf607d8a8
commit 92ad9a19b6

View file

@ -80,7 +80,7 @@ class ShippableChanges(object):
else: else:
# tracked files (including unchanged) # tracked files (including unchanged)
self.paths = sorted(git.get_file_names(['--cached'])) self.paths = sorted(git.get_file_names(['--cached']))
self.diff = None self.diff = []
def get_merge_runs(self, project_id, branch): def get_merge_runs(self, project_id, branch):
""" """