Skip to content

Commit

Permalink
chore: remove badly escaped strings
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenfonseca committed Oct 5, 2022
1 parent 1c7b4fe commit 84eb4b5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/e2e/utils/lambda_layer/powertools_layer.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ def __init__(self, output_dir: Path = CDK_OUT_PATH):
self.cleanup_command = (
f"rm -rf {self.target_dir}/boto* {self.target_dir}/s3transfer* && "
f"rm -rf {self.target_dir}/*dateutil* {self.target_dir}/urllib3* {self.target_dir}/six* && "
f"find {self.target_dir} -name '*.so' -type f -exec strip '{{}}' \; && " # noqa: W605
f"find {self.target_dir} -wholename '*/tests/*' -type f -delete && " # noqa: W605
f"find {self.target_dir} -regex '^.*\(__pycache__\|\.py[co]\)$' -delete" # noqa: W605
f"find {self.target_dir} -name '*.so' -type f -exec strip '{{}}' \\; && "
f"find {self.target_dir} -wholename '*/tests/*' -type f -delete && "
f"find {self.target_dir} -regex '^.*\\(__pycache__\\|\\.py[co]\\)$' -delete"
)
self.source_diff_file: Path = CDK_OUT_PATH / "layer_build.diff"

Expand Down

0 comments on commit 84eb4b5

Please sign in to comment.