From bcf2be9c969946b02489f1b919365ed8ec697706 Mon Sep 17 00:00:00 2001 From: harsh mahajan Date: Wed, 17 Jun 2026 13:56:00 +0530 Subject: [PATCH] fix: remove redundant comments and no-op attribute assignments --- .../Http/Installations/Repositories/Detections/Create.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/Appwrite/Platform/Modules/VCS/Http/Installations/Repositories/Detections/Create.php b/src/Appwrite/Platform/Modules/VCS/Http/Installations/Repositories/Detections/Create.php index 2bcdf09dc3..f80e400bde 100644 --- a/src/Appwrite/Platform/Modules/VCS/Http/Installations/Repositories/Detections/Create.php +++ b/src/Appwrite/Platform/Modules/VCS/Http/Installations/Repositories/Detections/Create.php @@ -152,7 +152,6 @@ class Create extends Action $contentResponse = $github->getRepositoryContent($owner, $repositoryName, \rtrim($providerRootDirectory, '/') . '/package.json'); $packages = $contentResponse['content'] ?? ''; } catch (FileNotFound $e) { - // Continue detection without package.json } $output = new Document([ @@ -210,7 +209,6 @@ class Create extends Action break; } } catch (FileNotFound $e) { - // Try next config file } } @@ -218,9 +216,6 @@ class Create extends Action } else { $frameworkName = 'other'; $detectedAdapter = ''; - $output->setAttribute('installCommand', ''); - $output->setAttribute('buildCommand', ''); - $output->setAttribute('outputDirectory', ''); } $frameworks = Config::getParam('frameworks');