Skip to content

Commit ed0d4f9

Browse files
committed
fix(deploy): thread language_extensions to PackageContext in deploy command
1 parent bdcd614 commit ed0d4f9

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

samcli/commands/deploy/command.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,7 @@ def do_cli(
347347
profile=profile,
348348
signing_profiles=guided_context.signing_profiles if guided else signing_profiles,
349349
parameter_overrides=context_param_overrides,
350+
language_extensions=language_extensions,
350351
) as package_context:
351352
package_context.run()
352353

tests/unit/commands/deploy/test_command.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1260,6 +1260,7 @@ def test_passing_parameter_overrides_to_context(
12601260
profile=self.profile,
12611261
signing_profiles=self.signing_profiles,
12621262
parameter_overrides=self.parameter_overrides,
1263+
language_extensions=None,
12631264
)
12641265

12651266
context_mock.run.assert_called_with()

0 commit comments

Comments
 (0)