We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd6708b commit e3e7aeaCopy full SHA for e3e7aea
src/Console/EnvPush.php
@@ -46,8 +46,9 @@ public function handle(): int
46
$this->decrypt = true;
47
}
48
49
- if (!file_exists('.env.' . $this->stage)) {
50
- throw new InvalidArgumentException("'.env.$this->stage' doesn't exists.");
+ if (!file_exists(".env.$this->stage")) {
+ $this->error("'.env.$this->stage' doesn't exists.");
51
+ return self::FAILURE;
52
53
54
$localEnvs = $this->getEnvironmentVarsFromFile();
0 commit comments