diff --git a/Shared/Infrastructure/Api/WordPress/MigrationCommand.php b/Shared/Infrastructure/Api/WordPress/MigrationCommand.php index d20845ee..404b7f4c 100644 --- a/Shared/Infrastructure/Api/WordPress/MigrationCommand.php +++ b/Shared/Infrastructure/Api/WordPress/MigrationCommand.php @@ -55,7 +55,7 @@ final class MigrationCommand } $component_name = $args[0]; - $schemas_path = get_template_directory() . '/schemas'; + $schemas_path = get_template_directory() . '/Schemas'; $schema_file = $schemas_path . '/' . $component_name . '.json'; if (!file_exists($schema_file)) { @@ -97,7 +97,7 @@ final class MigrationCommand */ public function sync_all_components(array $args, array $assoc_args): void { - $schemas_path = get_template_directory() . '/schemas'; + $schemas_path = get_template_directory() . '/Schemas'; if (!is_dir($schemas_path)) { \WP_CLI::error("Directorio de schemas no encontrado: {$schemas_path}");