Skip to content

Commit 3b2d85f

Browse files
committed
Added check of installed packages
1 parent f71f038 commit 3b2d85f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

app/Commands/CloneCommand.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class CloneCommand extends Command
3333
*
3434
* @var string
3535
*/
36-
protected $description = 'Clone another database';
36+
protected $description = 'Clone database from one to another';
3737

3838
/**
3939
* Source database type.
@@ -59,6 +59,10 @@ class CloneCommand extends Command
5959
*/
6060
public function handle()
6161
{
62+
if (!$this->checkInstalledPackages()) {
63+
return;
64+
}
65+
6266
$this->loadExistingProfiles();
6367

6468
// Source mode.

0 commit comments

Comments
 (0)