Skip to content

Commit

Permalink
fix:invake silent reture
Browse files Browse the repository at this point in the history
  • Loading branch information
高魏洪 committed Nov 6, 2024
1 parent 9adb6f2 commit 28a2e97
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/subCommands/invoke/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,9 @@ export default class Invoke {
logger.debug(`invoke function ${this.functionName} result ${JSON.stringify(result)}`);
if (this.silent) {
// console.log(result.body);
return result.body;
return {
body: result.body
};
} else {
this.showLog(result.headers, result.body);
}
Expand Down

0 comments on commit 28a2e97

Please sign in to comment.