Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get error in lambda function #1

Open
gurumark opened this issue Feb 5, 2018 · 0 comments
Open

Get error in lambda function #1

gurumark opened this issue Feb 5, 2018 · 0 comments

Comments

@gurumark
Copy link

gurumark commented Feb 5, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant