Experimental fix for ExecCommand
This commit is contained in:
parent
05d05e33b1
commit
277a09529e
1 changed files with 7 additions and 1 deletions
|
@ -63,9 +63,15 @@ namespace ncc\CLI\Commands;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if($package_entry === null)
|
||||||
|
{
|
||||||
|
Console::outError('Package ' . $package . ' is not installed', true, 1);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
$version_entry = $package_entry->getVersion($version);
|
$version_entry = $package_entry->getVersion($version, true);
|
||||||
}
|
}
|
||||||
catch(Exception $e)
|
catch(Exception $e)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue