Skip to content

Commit

Permalink
Write ENV file if it doesn't exist
Browse files Browse the repository at this point in the history
  • Loading branch information
agentphoenix committed Oct 9, 2024
1 parent 3eab7af commit fdad942
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nova/foundation/EnvWriter.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ public function lineExists(string $key): bool

protected function loadEnvContent()
{
$this->isEnvWritable();

$this->envFileContents = File::get($this->envFilePath());
}
}

0 comments on commit fdad942

Please sign in to comment.