From 3033a2c8744e3deab5f0f5914f36d2b85e3f712f Mon Sep 17 00:00:00 2001 From: Zone Tome Date: Sat, 22 Jun 2024 19:00:24 +0800 Subject: [PATCH] fix ci Signed-off-by: Zone Tome --- packages/engine/package.json | 2 +- packages/engine/src/actions/index.ts | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/engine/package.json b/packages/engine/package.json index dd742f6..2d1919b 100644 --- a/packages/engine/package.json +++ b/packages/engine/package.json @@ -1,6 +1,6 @@ { "name": "@serverless-devs/engine", - "version": "0.1.3-beta.1", + "version": "0.1.3", "description": "a engine lib for serverless-devs", "main": "lib/index.js", "scripts": { diff --git a/packages/engine/src/actions/index.ts b/packages/engine/src/actions/index.ts index d70bb8b..79c31ed 100644 --- a/packages/engine/src/actions/index.ts +++ b/packages/engine/src/actions/index.ts @@ -295,8 +295,7 @@ You can still use them now, but we suggest to modify them.`) }; try { // Execute the command for the component with the prepared inputs. - await instance[command](newInputs); - return; + return await instance[command](newInputs);; } catch (e) { const error = e as Error; // Check if the failure is allowed based on the record's allowFailure setting.