mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
fix: remove redundant comments and no-op attribute assignments
This commit is contained in:
1 parent
9a0c51b77b
commit
bcf2be9c96
1 file changed
-5
-5
@@ -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');
|
||||
|
||||
Reference in new issue
Block a user