From 5c463583041dd2a63460bbea17cc1d4c71047e4a Mon Sep 17 00:00:00 2001 From: gregurcom Date: Tue, 9 Sep 2025 12:01:35 +0300 Subject: [PATCH] 1310 update yaml file --- src/Commands/ProjectCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Commands/ProjectCommand.php b/src/Commands/ProjectCommand.php index 8fef9aa..9fafae9 100644 --- a/src/Commands/ProjectCommand.php +++ b/src/Commands/ProjectCommand.php @@ -198,7 +198,7 @@ public function updateProject(int $projectId, string $configurationPath) return new ResultData(ResultData::EXITCODE_ERROR); } if (str_ends_with($configurationPath, '.yaml')) { - Project::updateYaml($projectId, $configurationPath); + Project::updateYaml($projectId, $this->isValidJsonConfig($configurationPath)); } else { Project::update($projectId, $this->isValidJsonConfig($configurationPath)); }