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
2 changes: 1 addition & 1 deletion bin/node-lambda
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ program
.command('deploy')
.description('Deploy your application to Amazon Lambda')
.option('-e, --environment [AWS_ENVIRONMENT]', 'Choose environment {dev, staging, production}',
AWS_ENVIRONMENT)
AWS_ENVIRONMENT)
.option('-a, --accessKey [AWS_ACCESS_KEY_ID]', 'AWS Access Key', AWS_ACCESS_KEY_ID)
.option('-s, --secretKey [AWS_SECRET_ACCESS_KEY]', 'AWS Secret Key', AWS_SECRET_ACCESS_KEY)
.option('-P, --profile [AWS_PROFILE]', 'AWS Profile', AWS_PROFILE)
Expand Down
4 changes: 2 additions & 2 deletions lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -272,8 +272,8 @@ so you can easily test run multiple events.
'*.log',
path.join(path.sep, 'build', path.sep)
]
.concat(program.excludeGlobs ? program.excludeGlobs.split(' ') : [])
.concat(excludeNodeModules ? [path.join(path.sep, 'node_modules')] : [])
.concat(program.excludeGlobs ? program.excludeGlobs.split(' ') : [])
.concat(excludeNodeModules ? [path.join(path.sep, 'node_modules')] : [])
})()

// Formatting for `filter` of `fs.copy`
Expand Down
Loading