Minor changes
This commit is contained in:
parent
053686e888
commit
b0718aeb74
1 changed files with 4 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue