Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Upgrade packages
It is an error due to the upgrade of 'commander'.

```
Error: option 'description' clashes with existing property 'description' on Command
- call storeOptionsAsProperties(false) to store option values safely,
- or call storeOptionsAsProperties(true) to suppress this check,
- or change option name
```

Fixed it.
  • Loading branch information
abetomo committed Jul 31, 2020
commit 2141a509bb60790efa04590ad5162dbfdaa1fb30
4 changes: 4 additions & 0 deletions bin/node-lambda
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@ const KEEP_NODE_MODULES = process.env.KEEP_NODE_MODULES || false
const DOCKER_VOLUMES = process.env.DOCKER_VOLUMES || ''
const AWS_TAGS = process.env.AWS_TAGS || ''

program
.storeOptionsAsProperties(false)
.passCommandToAction(false)

program
.command('deploy')
.description('Deploy your application to Amazon Lambda')
Expand Down
Loading