Skip to content

Commit 14258cd

Browse files
authored
Removed json parser
1 parent 65d3d6c commit 14258cd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Commands/ProjectCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,9 +198,9 @@ public function updateProject(int $projectId, string $configurationPath)
198198
return new ResultData(ResultData::EXITCODE_ERROR);
199199
}
200200
if (str_ends_with($configurationPath, '.yaml')) {
201-
Project::updateYaml($projectId, $this->isValidJsonConfig($configurationPath));
201+
Project::updateYaml($projectId, $configurationPath);
202202
} else {
203-
Project::update($projectId, $this->isValidJsonConfig($configurationPath));
203+
Project::update($projectId, $data);
204204
}
205205

206206
$this->getIO()->writeln('Project <info>' . $projectId . '</info> updated.');

0 commit comments

Comments
 (0)