fix: add experimental flag

This commit is contained in:
Andras Bacsai
2024-10-24 21:48:51 +02:00
parent 8182305ac4
commit 0c34e81b2b
4 changed files with 9 additions and 4 deletions

View File

@@ -9,10 +9,10 @@ class StartSentinel
{
use AsAction;
public function handle(Server $server, bool $restart = false, bool $is_dev = false)
public function handle(Server $server, bool $restart = false)
{
// TODO: Sentinel is not available in this version (soon).
if (! $is_dev) {
if (! isExperimentalEnabled()) {
return;
}
$version = get_latest_sentinel_version();