Skip to content

Commit

Permalink
validation: not checking empty material depot paths
Browse files Browse the repository at this point in the history
  • Loading branch information
manavortex committed Jan 23, 2024
1 parent f2d82fb commit fd052a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Scripts/Wolvenkit_FileValidation.wscript
Original file line number Diff line number Diff line change
Expand Up @@ -1471,7 +1471,7 @@ function validateMaterialKeyValuePair(key, materialValue, info, validateRecursiv

const materialDepotPath = stringifyPotentialCName(materialValue.DepotPath);

if (hasUppercase(materialDepotPath) || isNumericHash(materialDepotPath)) {
if (!materialDepotPath || hasUppercase(materialDepotPath) || isNumericHash(materialDepotPath)) {
return;
}

Expand Down

0 comments on commit fd052a3

Please sign in to comment.