Fix for struct in Go
This commit is contained in:
parent
164d6ef2e4
commit
c91c02f6a8
|
@ -67,12 +67,11 @@ class EggConfigurationService
|
||||||
{
|
{
|
||||||
$done = Arr::get($startup, 'done');
|
$done = Arr::get($startup, 'done');
|
||||||
|
|
||||||
return array_filter([
|
return [
|
||||||
'done' => is_string($done) ? [$done] : $done,
|
'done' => is_string($done) ? [$done] : $done,
|
||||||
'user_interaction' => Arr::get($startup, 'userInteraction'),
|
'user_interaction' => Arr::get($startup, 'userInteraction') ?? [],
|
||||||
], function ($datum) {
|
'strip_ansi' => Arr::get($startup, 'strip_ansi') ?? false,
|
||||||
return ! is_null($datum);
|
];
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue