Remove old workaround code

This commit is contained in:
crazywhalecc 2025-07-22 14:46:01 +08:00
parent 20ab4afb4b
commit e1595e1091
No known key found for this signature in database
GPG Key ID: 1F4BDD59391F2680

View File

@ -94,9 +94,6 @@ class SourceManager
// if not, remove the source dir and extract again
logger()->notice("Source [{$source}] hash mismatch, removing old source dir and extracting again ...");
if ($source === 'micro' || $source === 'grpc') {
return;
}
FileSystem::removeDir($check);
$filename = LockFile::getLockFullPath($lock_content);
$move_path = LockFile::getExtractPath($lock_name, SOURCE_PATH . '/' . $source);