mirror of
https://github.com/filamentphp/filament.git
synced 2026-09-24 15:42:09 +08:00
chore: support package console ui improvement
This commit is contained in:
@@ -12,7 +12,7 @@ trait CanManipulateFiles
|
||||
{
|
||||
foreach ($paths as $path) {
|
||||
if ($this->fileExists($path)) {
|
||||
$this->error("{$path} already exists, aborting.");
|
||||
$this->components->error("{$path} already exists, aborting.");
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -22,7 +22,7 @@ trait CanValidateInput
|
||||
);
|
||||
|
||||
if ($validator->fails()) {
|
||||
$this->error($validator->errors()->first());
|
||||
$this->components->error($validator->errors()->first());
|
||||
|
||||
$input = $this->validateInput($callback, $field, $rules);
|
||||
}
|
||||
|
||||
@@ -21,7 +21,7 @@ class UpgradeCommand extends Command
|
||||
$this->call($command);
|
||||
}
|
||||
|
||||
$this->info('Successfully upgraded!');
|
||||
$this->components->info('Successfully upgraded!');
|
||||
|
||||
return static::SUCCESS;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user