fix: Disable Sentinel temporarily for non-dev environments
This commit is contained in:
@@ -9,10 +9,12 @@ class StartSentinel
|
||||
{
|
||||
use AsAction;
|
||||
|
||||
public function handle(Server $server, bool $restart = false)
|
||||
public function handle(Server $server, bool $restart = false, bool $is_dev = false)
|
||||
{
|
||||
// TODO: Sentinel is not available in this version (soon).
|
||||
return;
|
||||
if (! $is_dev) {
|
||||
return;
|
||||
}
|
||||
$version = get_latest_sentinel_version();
|
||||
if ($server->isSwarm() || $server->isBuildServer()) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user