@dcl/content-validator 7.0.4 → 7.0.5-21822981114.commit-b6b5bcd

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -243,7 +243,7 @@ async function entityShouldNotHaveContentFilesValidateFn(deployment) {
243
243
  if (entity.content.length > 0) {
244
244
  errors.push(`Entity has content files when it should not: ${entity.content.map((a) => a.file).join(', ')}`);
245
245
  }
246
- if (deployment.files.size > 0) {
246
+ if (deployment.files.size > 1) {
247
247
  errors.push(`Entity has uploaded files when it should not: ${Array.from(deployment.files.keys()).join(', ')}`);
248
248
  }
249
249
  return (0, types_1.fromErrors)(...errors);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcl/content-validator",
3
- "version": "7.0.4",
3
+ "version": "7.0.5-21822981114.commit-b6b5bcd",
4
4
  "description": "Catalyst content validations",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",
@@ -53,5 +53,5 @@
53
53
  "files": [
54
54
  "dist"
55
55
  ],
56
- "commit": "8a69959e608fa630c137f446af62704b4d3902f1"
56
+ "commit": "b6b5bcdd36252e5b01945408bffbae04f22a5b19"
57
57
  }