From b0718aeb74a01c35d1f3f6652a1f1c076ba1b1bf Mon Sep 17 00:00:00 2001 From: Netkas Date: Tue, 18 Oct 2022 22:01:37 -0400 Subject: [PATCH] Minor changes --- src/ncc/Managers/ProjectManager.php | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) 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