Skip to content

Commit

Permalink
Update DevController.php
Browse files Browse the repository at this point in the history
felixhahnweilheim committed Nov 23, 2023
1 parent 7e6fd8a commit c2cb691
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion commands/DevController.php
Original file line number Diff line number Diff line change
@@ -4,6 +4,7 @@

use Yii;
use yii\console\Controller;
use yii\console\ExitCode;
use yii\helpers\Console;
use yii\helpers\FileHelper;

@@ -23,6 +24,10 @@ class DevController extends Controller

public function actionRebuild()
{
if (!$this->confirm('This action is only for developping. Continue?')) {
$this->stdout("Cancelled\n");
return ExitCode::OK;
}
//self::message('Starting to rebuild LESS files of FlexTheme.', 'warning');

// Copy LESS files
@@ -65,7 +70,7 @@ public function actionRebuild()

self::message("\n\n ***Remeber to update the select2 file manually! \n\n");

return self::EXIT_CODE_NORMAL;
return ExitCode::OK;
}

private function checkAndCorrectFile($file)

0 comments on commit c2cb691

Please sign in to comment.