corrected typo error

mlyDevMerge1.5.7
MichaelO 2023-08-26 15:02:57 +08:00 committed by QiJing
parent e35fd0255f
commit 6758c974ce
1 changed files with 2 additions and 2 deletions

View File

@ -111,7 +111,7 @@ namespace YooAsset.Editor
public CollectResult GetPackageAssets(EBuildMode buildMode, string packageName) public CollectResult GetPackageAssets(EBuildMode buildMode, string packageName)
{ {
if (string.IsNullOrEmpty(packageName)) if (string.IsNullOrEmpty(packageName))
throw new Exception("Build package name is null or mepty !"); throw new Exception("Build package name is null or empty !");
var package = GetPackage(packageName); var package = GetPackage(packageName);
CollectCommand command = new CollectCommand(buildMode, packageName, CollectCommand command = new CollectCommand(buildMode, packageName,
@ -131,7 +131,7 @@ namespace YooAsset.Editor
if (package.PackageName == packageName) if (package.PackageName == packageName)
return package; return package;
} }
throw new Exception($"Not found pacakge : {packageName}"); throw new Exception($"Not found package : {packageName}");
} }
} }
} }