Map the sculpin-site template to the sculpin

...type
This commit is contained in:
Oliver Davies 2024-07-31 09:00:00 +01:00
parent e81303b7bc
commit 8b59f9f1c9

View file

@ -22,6 +22,7 @@ final class CreateFinalConfigurationData
// Map the new `template` value to `type`.
if (isset($configurationData['template'])) {
$configurationData['type'] = match ($configurationData['template']) {
'sculpin-site' => 'sculpin',
default => $configurationData['template'],
};