Fix env:backup and env:restore

Build next version
This commit is contained in:
René Preuß committed 2021-07-24 13:42:17 +02:00
1 parent c90ad43a3c
commit efeda239d7
5 files changed
+75 -3

No files matched your search

+1 -1
View File
@@ -31,7 +31,7 @@ class EnvRestoreCommand extends Command
{
$this->info(sprintf("The following environment file is used: '%s'", App::environmentFilePath()));
Storage::put('.env', Storage::get($this->argument('file')));
Storage::put('.env', Storage::get(sprintf('backups/%s', $this->argument('file'))));
$this->info('The environment file was successfully restored.');