mirror of
https://github.com/vitodeploy/vito.git
synced 2025-06-30 21:46:16 +00:00
Fix Deployment Script on Windows Clients (#433)
* resolve issue with EOL * Manual Run * reverse change for manual run of tests * remove logging
This commit is contained in:
@ -15,6 +15,15 @@ class DeploymentScript extends AbstractModel
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
protected static function boot(): void
|
||||
{
|
||||
parent::boot();
|
||||
|
||||
static::saving(function ($deploymentScript) {
|
||||
$deploymentScript->content = str_replace("\r\n", "\n", $deploymentScript->content);
|
||||
});
|
||||
}
|
||||
|
||||
protected $fillable = [
|
||||
'site_id',
|
||||
'name',
|
||||
|
Reference in New Issue
Block a user