Skip to content

Commit c0d6821

Browse files
authored
include subdirectories when building for deploy
1 parent 2363277 commit c0d6821

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

aws_lambda/aws_lambda.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,8 +215,9 @@ def build(src, requirements=False, local_package=None):
215215
continue
216216
if filename == 'config.yaml':
217217
continue
218-
print('Bundling: %r' % filename)
219-
files.append(os.path.join(src, filename))
218+
# TODO: Check subdirectories for '.DS_Store' files
219+
print('Bundling: %r' % filename)
220+
files.append(os.path.join(src, filename))
220221

221222
# "cd" into `temp_path` directory.
222223
os.chdir(path_to_temp)

0 commit comments

Comments
 (0)