Merge pull request #1123 from coollabsio/next

v4.0.0-beta.15
This commit is contained in:
Andras Bacsai
2023-07-04 12:44:12 +02:00
committed by GitHub
52 changed files with 1782 additions and 866 deletions

View File

@@ -39,7 +39,7 @@ class RunRemoteProcess
public function __construct(Activity $activity, bool $hide_from_output = false, bool $is_finished = false, bool $ignore_errors = false)
{
if ($activity->getExtraProperty('type') !== ActivityTypes::INLINE->value && $activity->getExtraProperty('type') !== ActivityTypes::DEPLOYMENT->value) {
if ($activity->getExtraProperty('type') !== ActivityTypes::INLINE->value) {
throw new \RuntimeException('Incompatible Activity to run a remote command.');
}