This commit is contained in:
Netkas 2023-09-01 04:31:24 -04:00
parent e7eecd354a
commit d4f69522fc
No known key found for this signature in database
GPG key ID: 5DAF58535614062B

View file

@ -128,16 +128,15 @@
{
$project_path = $args['path'] ?? $args['p'];
}
elseif(is_file(getcwd() . DIRECTORY_SEPARATOR . 'project.json'))
{
$project_path = getcwd();
}
else
if(is_file(getcwd() . DIRECTORY_SEPARATOR . 'project.json'))
{
$project_path = getcwd();
}
else
{
Console::outError('Missing option: --path|-p, please specify the path to the project', true, 1);
return;
}
{
Console::outError('Missing option: --path|-p, please specify the path to the project', true, 1);
return;
}
if(isset($args['name']) || isset($args['n']))
{