You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there,
Pushing the git rep to s3, aws-git-backed-static-website-SyncLambdaFunction fails with the following error:
local variable 'source_dir' referenced before assignment: UnboundLocalError Traceback (most recent call last): File "/var/task/index.py", line 86, in handler shutil.rmtree(source_dir) UnboundLocalError: local variable 'source_dir' referenced before assignment
local variable 'source_dir' referenced before assignment: UnboundLocalError
Traceback (most recent call last):
File "/var/task/index.py", line 86, in handler
shutil.rmtree(source_dir)
UnboundLocalError: local variable 'source_dir' referenced before assignment
The text was updated successfully, but these errors were encountered:
Hi there,
Pushing the git rep to s3, aws-git-backed-static-website-SyncLambdaFunction fails with the following error:
local variable 'source_dir' referenced before assignment: UnboundLocalError Traceback (most recent call last): File "/var/task/index.py", line 86, in handler shutil.rmtree(source_dir) UnboundLocalError: local variable 'source_dir' referenced before assignment
local variable 'source_dir' referenced before assignment: UnboundLocalError
Traceback (most recent call last):
File "/var/task/index.py", line 86, in handler
shutil.rmtree(source_dir)
UnboundLocalError: local variable 'source_dir' referenced before assignment
The text was updated successfully, but these errors were encountered: