electron-version-deployer-cli 0.1.0 → 0.1.1
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/cli.cjs +3 -1
- package/package.json +1 -1
package/dist/cli.cjs
CHANGED
|
@@ -391,6 +391,7 @@ const _Netlify = class {
|
|
|
391
391
|
if (!configs.netlify.siteID) {
|
|
392
392
|
return `configs.netlify.siteID 未配置`;
|
|
393
393
|
}
|
|
394
|
+
return;
|
|
394
395
|
}
|
|
395
396
|
return `configs.netlify 配置不存在`;
|
|
396
397
|
}
|
|
@@ -448,6 +449,7 @@ const _Cloudflare = class {
|
|
|
448
449
|
if (!configs.cloudflare.projectName) {
|
|
449
450
|
return `configs.cloudflare.projectName 未配置`;
|
|
450
451
|
}
|
|
452
|
+
return;
|
|
451
453
|
}
|
|
452
454
|
return `configs.cloudflare 配置不存在`;
|
|
453
455
|
}
|
|
@@ -568,4 +570,4 @@ async function installPrebuilt(configs) {
|
|
|
568
570
|
}
|
|
569
571
|
commander.program.description(
|
|
570
572
|
"Electron 版本部署 CLI,简化你的 Electron 软件更新,让一切变得简单。"
|
|
571
|
-
).helpOption("-h, --help", "使用帮助").version("0.1.
|
|
573
|
+
).helpOption("-h, --help", "使用帮助").version("0.1.1", "-V, --version", "显示版本号").parse(process.argv);
|