Skip to content

Commit

Permalink
fix: with, without, only
Browse files Browse the repository at this point in the history
  • Loading branch information
micmurawski committed Apr 10, 2024
1 parent 0e49207 commit 18d069f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions poetry_plugin_lambda_build/recipes.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,13 @@ def create_separate_layer_package(
poetry_export_cmd = "poetry export --format=requirements.txt"

if options["without"]:
poetry_export_cmd.append(f"--without={options['without']}")
poetry_export_cmd+=f" --without={options['without']}"

if options["with"]:
poetry_export_cmd.append(f"--with={options['with']}")
poetry_export_cmd+=f" --with={options['with']}"

if options["only"]:
poetry_export_cmd.append(f"--only={options['only']}")
poetry_export_cmd+=f" --only={options['only']}"

if install_dir:
layer_output_dir = os.path.join(layer_output_dir, install_dir)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "poetry-plugin-lambda-build"
version = "0.2.3"
version = "0.2.4"
description = "The plugin for poetry that allows you to build zip packages suited for serverless deployment like AWS Lambda, Google App Engine, Azure App Service, and more..."
authors = ["Michał Murawski <[email protected]>"]
readme = "README.md"
Expand Down

0 comments on commit 18d069f

Please sign in to comment.