Skip to content

Commit

Permalink
fix: action component command not found
Browse files Browse the repository at this point in the history
Signed-off-by: zxypro1 <1018995004@qq.com>
  • Loading branch information
zxypro1 committed Apr 9, 2024
1 parent e523b91 commit 5bc1b74
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/engine/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@serverless-devs/engine",
"version": "0.1.2-beta.8",
"version": "0.1.2-beta.9",
"description": "a engine lib for serverless-devs",
"main": "lib/index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/engine/src/actions/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ You can still use them now, but we suggest to modify them.`)
// 方法存在,执行报错,退出码101
const newInputs = {
...this.record.componentProps,
argv: filter(argv.slice(2), o => !includes([componentName, command], o)),
args: filter(argv.slice(2), o => !includes([componentName, command], o)),
};
try {
// Execute the command for the component with the prepared inputs.
Expand Down

0 comments on commit 5bc1b74

Please sign in to comment.