diff --git a/src/ncc/Managers/ProjectManager.php b/src/ncc/Managers/ProjectManager.php index 6067c05..1e1be7b 100644 --- a/src/ncc/Managers/ProjectManager.php +++ b/src/ncc/Managers/ProjectManager.php @@ -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