Skip to content

deploy --publish needs a boolean ? #345

Description

@florent-blanvillain

Hi :)

When I use
node-lambda deploy --publish true

I get
{ InvalidParameterType: Expected params.Publish to be a boolean at ParamValidator.fail (/usr/local/lib/node_modules/node-lambda/node_modules/aws-sdk/lib/param_validator.js:50:37) at ParamValidator.validateType (/usr/local/lib/node_modules/node-lambda/node_modules/aws-sdk/lib/param_validator.js:222:10) at ParamValidator.validateScalar (/usr/local/lib/node_modules/node-lambda/node_modules/aws-sdk/lib/param_validator.js:138:21) at ParamValidator.validateMember (/usr/local/lib/node_modules/node-lambda/node_modules/aws-sdk/lib/param_validator.js:94:21) at ParamValidator.validateStructure (/usr/local/lib/node_modules/node-lambda/node_modules/aws-sdk/lib/param_validator.js:75:14) at ParamValidator.validateMember (/usr/local/lib/node_modules/node-lambda/node_modules/aws-sdk/lib/param_validator.js:88:21) at ParamValidator.validate (/usr/local/lib/node_modules/node-lambda/node_modules/aws-sdk/lib/param_validator.js:34:10) at Request.VALIDATE_PARAMETERS (/usr/local/lib/node_modules/node-lambda/node_modules/aws-sdk/lib/event_listeners.js:125:42) at Request.callListeners (/usr/local/lib/node_modules/node-lambda/node_modules/aws-sdk/lib/sequential_executor.js:105:20) at callNextListener (/usr/local/lib/node_modules/node-lambda/node_modules/aws-sdk/lib/sequential_executor.js:95:12) message: 'Expected params.Publish to be a boolean', code: 'InvalidParameterType', time: 2017-07-05T07:53:05.244Z }

Is it a bug or is there a particular value to put ?

Thank you,
Florent

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions