Remove NodeJS dependency check (#745)

This commit is contained in:
James Addison 2020-04-17 07:24:02 +01:00 committed by GitHub
parent 1cb0ba5e68
commit b2dbc64f29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,7 +11,6 @@ class PrerequisiteChecker
self::checkForConfigFile();
self::checkForConfigDistFile();
self::checkForComposer();
self::checkForYarn();
self::checkForPhpExtensions();
}
@ -40,14 +39,6 @@ class PrerequisiteChecker
}
}
private function checkForYarn()
{
if (!file_exists(__DIR__ . '/../public/node_modules'))
{
throw new ERequirementNotMet('/public/node_modules not found. Have you run Yarn?');
}
}
private function checkForPhpExtensions()
{
$loadedExtensions = get_loaded_extensions();