fix: fc 159, command parse to inputs
This commit is contained in:
parent
653a70dfc0
commit
6a49a32c8e
|
@ -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: {
|
||||
|
|
Loading…
Reference in New Issue