mirror of
https://github.com/bitinflow/bunny-cli.git
synced 2026-03-14 14:15:56 +00:00
Fix env:backup and env:restore
Build next version
This commit is contained in:
@@ -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.');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user