Skip to content

Commit

Permalink
chore(lambda): invalid python sample code generated
Browse files Browse the repository at this point in the history
Following up on #13036 with an additional instance in which rosetta fails to generate correct python code.

Fixes #13035
  • Loading branch information
Elad Ben-Israel committed Feb 14, 2021
1 parent 7730ac8 commit 5ec40f7
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions packages/@aws-cdk/aws-lambda/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -450,10 +450,8 @@ new lambda.Function(this, 'Function', {
bundling: {
image: lambda.Runtime.PYTHON_3_6.bundlingDockerImage,
command: [
'bash', '-c', `
pip install -r requirements.txt -t /asset-output &&
cp -au . /asset-output
`,
'bash', '-c',
'pip install -r requirements.txt -t /asset-output && cp -au . /asset-output'
],
},
}),
Expand Down

0 comments on commit 5ec40f7

Please sign in to comment.