From 7a539a498f8b2cba6d8d87d78012e78ae369a4b5 Mon Sep 17 00:00:00 2001 From: FrankZamora Date: Thu, 27 Nov 2025 11:58:56 -0600 Subject: [PATCH] fix: Corregir case-sensitivity en ruta de Schemas para Linux MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Cambiar '/schemas' a '/Schemas' en MigrationCommand.php - Permite que wp roi-theme sync_component funcione en servidores Linux 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- Shared/Infrastructure/Api/WordPress/MigrationCommand.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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}");