Skip to content

Commit aaf07b0

Browse files
authored
Fix logic for dev commands (librenms#19586)
* Fix logic for dev commands * Fix StyleCI
1 parent 7abb51d commit aaf07b0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/Console/LnmsCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public function isHidden(): bool
5656
{
5757
$env = $this->getLaravel() ? $this->getLaravel()->environment() : getenv('APP_ENV');
5858

59-
return $this->hidden || ($this->developer && $env !== 'production');
59+
return $this->hidden || ($this->developer && $env === 'production');
6060
}
6161

6262
/**

0 commit comments

Comments
 (0)