remove workaround

This commit is contained in:
Marc 2025-07-21 21:22:41 +07:00 committed by GitHub
parent d66d7b3a73
commit 71f4e45256
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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