@hangox/pm-cli 1.1.1 → 1.1.2
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.
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2063,7 +2063,7 @@ function createIssueCommand() {
|
|
|
2063
2063
|
...options,
|
|
2064
2064
|
host: urlHost || options.host
|
|
2065
2065
|
});
|
|
2066
|
-
const validation = validateCredentials(creds);
|
|
2066
|
+
const validation = validateCredentials(creds, ["token", "host"]);
|
|
2067
2067
|
if (!validation.valid) {
|
|
2068
2068
|
outputError(`\u7F3A\u5C11\u5FC5\u8981\u53C2\u6570: ${validation.missing.join(", ")}`, options.pretty);
|
|
2069
2069
|
process.exit(1);
|