Skip to content

Commit

Permalink
Highlight warning
Browse files Browse the repository at this point in the history
  • Loading branch information
janbarasek committed Mar 6, 2021
1 parent 702daf6 commit 42d068b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/InteractiveComposer/Task/AssetsFromPackageTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
namespace Baraja\PackageManager\Composer;


use Baraja\Console\Helpers as ConsoleHelpers;
use Baraja\PackageManager\Exception\PackageDescriptorCompileException;

/**
Expand All @@ -22,7 +23,9 @@ public function run(): bool
return false;
}

echo 'Warning: This task is deprecated and will be removed in PackageManager v4.';

echo ConsoleHelpers::terminalRenderLabel('Warning') . ': ';
echo 'This task is deprecated and will be removed in PackageManager v4.';
echo 'BasePath: ' . ($basePath = \dirname(__DIR__, 5) . '/') . "\n";
echo 'ProjectRoot: ' . \rtrim(\dirname($basePath), '/') . '/';

Expand Down

0 comments on commit 42d068b

Please sign in to comment.