Skip to content

Commit 837ad64

Browse files
authored
Fixing error message: Pointing to correct value --api-gateway-emulato… (#1966)
1 parent 0ae41ec commit 837ad64

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"Projects": [
3+
{
4+
"Name": "Amazon.Lambda.TestTool",
5+
"Type": "Patch",
6+
"ChangelogMessages": [
7+
"Fix exception method when not setting --api-gateway-emulator-mode"
8+
]
9+
}
10+
]
11+
}

Tools/LambdaTestTool-v2/src/Amazon.Lambda.TestTool/Commands/RunCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public override async Task<int> ExecuteAsync(CommandContext context, RunCommandS
6565
{
6666
if (settings.ApiGatewayEmulatorMode is null)
6767
{
68-
throw new ArgumentException("When --api-gateway-emulator-port is set the --api-gateway-mode must be set to configure the mode for the API Gateway emulator.");
68+
throw new ArgumentException("When --api-gateway-emulator-port is set the --api-gateway-emulator-mode must be set to configure the mode for the API Gateway emulator.");
6969
}
7070

7171
var apiGatewayEmulatorProcess =

0 commit comments

Comments
 (0)