Skip to content

Commit

Permalink
Further fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
bomoko committed Nov 12, 2023
1 parent 828cd16 commit 8c9ab5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/LagoonCommands.php
Original file line number Diff line number Diff line change
Expand Up @@ -274,16 +274,16 @@ public function getLagoonEnvs() {
* Will check whether the current environment is Lagoon or Lagoon dev envs.
*
* @return bool
* is a functional Lagoon env
*/
private function isLagoonEnvironment() {
return !empty(getenv("LAGOON"));
}

/**
* This should be run before any Lagoon commands.
* Checks whether we have a valid environment before running.
*
* @return void
* Checks whether we have a valid environment before running.
*/
private function preCommandChecks() {
if ($this->isLagoonEnvironment() == FALSE) {
Expand Down

0 comments on commit 8c9ab5c

Please sign in to comment.