Minor changes

This commit is contained in:
Netkas 2022-10-18 22:01:37 -04:00
parent 053686e888
commit b0718aeb74

View file

@ -72,17 +72,15 @@
return;
}
// Detect if project.json exists in the directory
if(file_exists($selected_directory . 'project.json'))
{
$this->ProjectPath = $selected_directory;
$this->ProjectFilePath = $selected_directory . 'project.json';
}
$this->ProjectPath = $selected_directory;
$this->ProjectFilePath = $selected_directory . 'project.json';
}
/**
* Initializes the project structure
*
* // TODO: Correct the unexpected path behavior issue when initializing a project
*
* @param Compiler $compiler
* @param string $name
* @param string $package