mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
fix: remove package.json special-case in config file loop
This commit is contained in:
1 parent
bcf2be9c96
commit
bbf6bb603b
1 file changed
-4
-4
@@ -194,10 +194,6 @@ class Create extends Action
|
||||
|
||||
$configContent = '';
|
||||
foreach ($framework->getConfigFiles() as $configFile) {
|
||||
if ($configFile === 'package.json') {
|
||||
$configContent = $packages;
|
||||
break;
|
||||
}
|
||||
if (!\in_array($configFile, $files, true)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user