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 lib/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ AWS_DESCRIPTION=
AWS_RUNTIME=nodejs
AWS_VPC_SUBNETS=
AWS_VPC_SECURITY_GROUPS=
EXCLUDE_GLOBS="deploy.env event.json"
EXCLUDE_GLOBS="event.json"
PACKAGE_DIRECTORY=build
2 changes: 1 addition & 1 deletion lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ Lambda.prototype._zipfileTmpPath = function (program) {
};

Lambda.prototype._rsync = function (program, codeDirectory, callback) {
var excludes = ['.git*', '.editorconfig', 'deploy.env', '*.log', 'node_modules'],
var excludes = ['.git*', '*.swp', '.editorconfig', 'deploy.env', '*.log', 'node_modules'],
excludeArgs = '';
if (program.excludeGlobs) {
var excludeGlobs = program.excludeGlobs.split(' ');
Expand Down