We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7afe7cf commit 53668ebCopy full SHA for 53668eb
aws_lambda/aws_lambda.py
@@ -327,16 +327,17 @@ def build(
327
328
files = []
329
for filename in os.listdir(src):
330
- if os.path.isfile(filename):
+ abs_filename = os.path.join(src, filename)
331
+ if os.path.isfile(abs_filename):
332
if filename == '.DS_Store':
333
continue
334
if filename == config_file:
335
336
print('Bundling: %r' % filename)
- files.append(os.path.join(src, filename))
337
+ files.append(abs_filename)
338
elif os.path.isdir(filename) and filename in source_directories:
339
print('Bundling directory: %r' % filename)
340
341
342
# "cd" into `temp_path` directory.
343
os.chdir(path_to_temp)
0 commit comments