fix: add experimental flag

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

No files matched your search

+2 -2
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();