Skip to content

Commit

Permalink
create a env file if it doesnt exist
Browse files Browse the repository at this point in the history
  • Loading branch information
themsaid committed Feb 18, 2020
1 parent e828f66 commit cbda16b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BuildProcess/SetBuildEnvironment.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public function __invoke()
Helpers::step('<bright>Setting Build Environment</>');

if (! file_exists($envPath = $this->appPath.'/.env')) {
return;
$this->files->put($envPath, '');
}

if (file_exists($this->appPath.'/.env.'.$this->environment)) {
Expand Down

0 comments on commit cbda16b

Please sign in to comment.