adjust store classes

This commit is contained in:
crazywhalecc
2023-10-14 11:22:46 +08:00
committed by Jerry Ma
parent 630c0d3a5d
commit 5d363bdb0b
2 changed files with 11 additions and 13 deletions

View File

@@ -52,7 +52,7 @@ class SourceExtractor
// start check
foreach ($sources_extracted as $source => $item) {
if (Config::getSource($source) === null) {
throw new WrongUsageException("Source [{$source}] not exists, please check name and correct it !");
throw new WrongUsageException("Source [{$source}] does not exist, please check the name and correct it !");
}
if (!isset($lock[$source])) {
throw new WrongUsageException('Source [' . $source . '] not downloaded or not locked, you should download it first !');