Skip to content

Commit 5c73e38

Browse files
author
therealchucknorris
committed
Getting dist directory name from config now, instead of it being hardcoded
1 parent a9ba9d8 commit 5c73e38

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

aws_lambda/aws_lambda.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ def build(src, local_package=None):
189189
continue
190190
files.append(os.path.join(src, filename))
191191
elif os.path.isdir(filename) and filename in cfg.get('include_dirs', []):
192-
if filename == 'dist':
192+
if filename == dist_directory:
193193
continue
194194
dirs.append(os.path.join(src, filename))
195195

0 commit comments

Comments
 (0)