]> _ Git - cubist_cms-back.git/commitdiff
#2843
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 19 Jun 2019 12:11:41 +0000 (14:11 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 19 Jun 2019 12:11:41 +0000 (14:11 +0200)
src/app/Console/Commands/CubistCommand.php

index a9288483412771c5ce0a9fac725fdf67867109fd..0384e53d104b245007ba2d98aa10fbea5fcc7856 100644 (file)
@@ -8,6 +8,7 @@ use Cubist\Backpack\app\Magic\Models\CubistMagicAbstractModel;
 use Cubist\Util\Files\Files;
 use Cubist\Util\PHP;
 use Illuminate\Console\Command;
+use Illuminate\Support\Facades\App;
 use Symfony\Component\Process\Exception\ProcessFailedException;
 use Symfony\Component\Process\Process;
 
@@ -64,6 +65,8 @@ class CubistCommand extends Command
     {
         $magic = app_path() . '/Models';
 
+        $this->line('Environment ' . App::environment());
+
         $iterator = Files::getDirectoryIterator($magic, true);
         foreach ($iterator as $item) {
             $this->line('Testing ' . $item);