fix: fc 159, command parse to inputs

This commit is contained in:
wss-git 2021-08-04 10:55:52 +08:00
parent 653a70dfc0
commit 6a49a32c8e
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ export default class FcRemoteInvoke {
const args: string = (inputs?.args || '').replace(/(^\s*)|(\s*$)/g, '');
logger.debug(`input args: ${args}`);
const parsedArgs: {[key: string]: any} = core.commandParse({ args }, {
const parsedArgs: {[key: string]: any} = core.commandParse({ ...inputs, args }, {
boolean: ['help', 'event-stdin'],
string: ['invocation-type', 'event', 'event-file', 'region', 'domain-name','service-name', 'function-name', 'qualifier'],
alias: {