fix: oops

This commit is contained in:
Andras Bacsai 2023-07-06 14:27:11 +02:00
parent 81fee02e8f
commit 49733c239b

View File

@ -154,7 +154,7 @@ private function deploy()
$this->clone_repository();
$tag = Str::of("{$this->commit}-{$this->application->id}-{$this->pull_request_id}");
if ($tag->count() > 128) {
if (strlen($tag) > 128) {
$tag = $tag->substr(0, 128);
};