@cloudbase/framework-plugin-low-code 1.7.34-alpha.3 → 1.7.34-alpha.5

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/lib/index.js +2 -2
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -638,7 +638,7 @@ class LowCodePlugin extends framework_core_1.Plugin {
638
638
  if (this._artifactOptions) {
639
639
  let cos = this._initCos();
640
640
  try {
641
- yield Promise.all([
641
+ yield Promise.race([
642
642
  new Promise((resolve, reject) => {
643
643
  setTimeout(() => {
644
644
  reject(new Error('上传构建快照超时'));
@@ -665,7 +665,7 @@ class LowCodePlugin extends framework_core_1.Plugin {
665
665
  const { pathname, hostname } = new URL(process.env.CODE_URL_WITH_AUTH);
666
666
  if (/ci-source-1303824488\./.test(hostname) &&
667
667
  new RegExp(`^/lca/${this._resolvedInputs.appId}`).test(pathname)) {
668
- yield Promise.all([
668
+ yield Promise.race([
669
669
  new Promise((resolve, reject) => {
670
670
  setTimeout(() => {
671
671
  reject(new Error('删除快照超时'));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudbase/framework-plugin-low-code",
3
- "version": "1.7.34-alpha.3",
3
+ "version": "1.7.34-alpha.5",
4
4
  "description": "云开发 Tencent CloudBase Framework Low Code Plugin,将低码配置生成完整项目并一键部署云开发资源。",
5
5
  "author": "yhsunshining@gmail.com",
6
6
  "homepage": "https://github.com/TencentCloudBase/cloudbase-framework#readme",