Skip to content

Commit 1457c4a

Browse files
fix: Create dist directory if it does not exist (#1015)
1 parent 5b0b196 commit 1457c4a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/build-awslambda-layer.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ def build_packaged_zip():
6868
package_builder.make_directories()
6969
package_builder.install_python_binaries()
7070
package_builder.zip(DEST_ZIP_FILENAME)
71+
if not os.path.exists(DEST_REL_PATH):
72+
os.makedirs(DEST_REL_PATH)
7173
shutil.copy(
7274
package_builder.get_relative_path_of(DEST_ZIP_FILENAME), DEST_ABS_PATH
7375
)

0 commit comments

Comments
 (0)