electron-userland / electron-windows-store

:package: Turn Electron Apps into Windows AppX Packages
MIT License
674 stars 85 forks source link

Publisher identity is missing validation #109

Open robinwassen opened 5 years ago

robinwassen commented 5 years ago

The wizard that prompts for publisher identity does not have any formatting validation which can be confusing for first time users.

Steps to reproduce:

Expected result: The user should be prompted to enter a valid publisher identity value.

Actual results: Error is thrown: TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined at assertPath (path.js:39:11) at Object.join (path.js:432:7) at inquirer.prompt.then (C:\Users\robin\AppData\Roaming\npm\node_modules\electron-windows-store\lib\setup.js:174:31) at process._tickCallback (internal/process/next_tick.js:68:7)

Reasons for the error: The publisher identity value part in the path becomes undefined since the value does not contain a =