Skip to content
This repository was archived by the owner on Mar 15, 2026. It is now read-only.

Commit 0c0187e

Browse files
committed
should now ignore .gitignore
1 parent daa330c commit 0c0187e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aws_lambda/aws_lambda.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ def init(src, minimal=False):
147147
templates_path = os.path.join(
148148
os.path.dirname(os.path.abspath(__file__)), "project_templates")
149149
for filename in os.listdir(templates_path):
150-
if (minimal and filename == 'event.json') or filename.endswith('.pyc'):
150+
if (minimal and filename == 'event.json') or filename.endswith('.pyc') or filename.endswith('.gitignore'):
151151
continue
152152
dest_path = os.path.join(templates_path, filename)
153153

0 commit comments

Comments
 (0)