Experimental fix for ExecCommand

This commit is contained in:
Netkas 2023-07-11 20:40:47 -04:00
parent 05d05e33b1
commit 277a09529e
No known key found for this signature in database
GPG key ID: 5DAF58535614062B

View file

@ -63,9 +63,15 @@ namespace ncc\CLI\Commands;
return;
}
if($package_entry === null)
{
Console::outError('Package ' . $package . ' is not installed', true, 1);
return;
}
try
{
$version_entry = $package_entry->getVersion($version);
$version_entry = $package_entry->getVersion($version, true);
}
catch(Exception $e)
{