nw-builder 4.13.3 → 4.13.4

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/util.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nw-builder",
3
- "version": "4.13.3",
3
+ "version": "4.13.4",
4
4
  "description": "Build NW.js desktop applications for MacOS, Windows and Linux.",
5
5
  "keywords": [
6
6
  "NW.js",
package/src/util.js CHANGED
@@ -564,7 +564,7 @@ export const validate = async (options, releaseInfo) => {
564
564
  if (options.app.comments && typeof options.app.comments !== 'string') {
565
565
  throw new Error('Expected options.app.comments to be a string. Got ' + options.app.comments);
566
566
  }
567
- if (typeof options.app.company !== 'string') {
567
+ if (options.app.company && typeof options.app.company !== 'string') {
568
568
  throw new Error('Expected options.app.company to be a string. Got ' + options.app.company);
569
569
  }
570
570
  if (typeof options.app.fileDescription !== 'string') {