Skip to content

Commit

Permalink
Refactor: remove unused stdout
Browse files Browse the repository at this point in the history
  • Loading branch information
SquatsTonight committed Nov 13, 2021
1 parent c44c1ce commit bec4c25
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -241,10 +241,9 @@ export default class FcBaseComponent extends BaseComponent {
}
// 删除 methodName
const fcLocalInvokeArgs: string = args ? args.replace(methodName, '').replace(/(^\s*)|(\s*$)/g, '') : '';
this.logger.debug(`Args of fc-info is: ${fcLocalInvokeArgs}`);
this.logger.debug(`Args of local method is: ${fcLocalInvokeArgs}`);

inputs.argsObj.shift();
console.log(inputs.argsObj);
const localRes: any = await this.componentMethodCaller(inputs, 'devsapp/fc-local-invoke', methodName, props, fcLocalInvokeArgs);
tips.showNextTip(args, tips.showLocalNextTips);

Expand Down

0 comments on commit bec4c25

Please sign in to comment.