lib/paratrooper/pending_migration_check.rb in paratrooper-1.4.0 vs lib/paratrooper/pending_migration_check.rb in paratrooper-1.4.1
- old
+ new
@@ -15,9 +15,9 @@
self.diff = system_caller.execute(call)
!diff.strip.empty?
end
def last_deployed_commit
- heroku.last_deploy_commit
+ @last_deploy_commit ||= heroku.last_deploy_commit
end
end
end