@forge/manifest
13.8.1-next.0-experimental-1e9569613.9.0-next.3
out/validators/resources-validator.js~
out/validators/resources-validator.jsModified+2
Index: package/out/validators/resources-validator.js
===================================================================
--- package/out/validators/resources-validator.js
+++ package/out/validators/resources-validator.js
@@ -266,8 +266,10 @@
}
const invalidDirectoryErrors = resources
.map((resource) => {
const { key, path } = resource;
+ if (typeof path !== 'string')
+ return undefined;
const manifestDir = (0, path_1.dirname)(filePath);
const resourceDirPath = (0, path_1.resolve)(manifestDir, path);
if (!fs_1.default.existsSync(resourceDirPath)) {
return {