chore: Remove unnecessary code for saving commit message

This commit is contained in:
Andras Bacsai 2024-05-15 11:53:28 +02:00
parent b9a755d6d3
commit 1e01106b94

View File

@ -1179,7 +1179,6 @@ private function clone_repository()
]
);
if ($this->saved_outputs->get('commit_message')) {
$this->application_deployment_queue->addLogEntry("Commit message: {$this->saved_outputs->get('commit_message')}");
$this->application_deployment_queue->commit_message = $this->saved_outputs->get('commit_message');
ApplicationDeploymentQueue::whereCommit($this->commit)->whereApplicationId($this->application->id)->update(['commit_message' => $this->saved_outputs->get('commit_message')]);
$this->application_deployment_queue->save();