Skip to content

Commit 403457e

Browse files
committed
fix: fixed an issue causing lambda package to hang in CI/CD
1 parent 642bfa2 commit 403457e

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.Tools",
5+
"Type": "Patch",
6+
"ChangelogMessages": [
7+
"Fixed an issue causing 'lambda package' to hang when ran in CI/CD."
8+
]
9+
}
10+
]
11+
}

src/Amazon.Lambda.Tools/LambdaDotNetCLIWrapper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ public int Publish(LambdaToolsDefaults defaults, string projectLocation, string
217217

218218
proc.EnableRaisingEvents = true;
219219

220-
proc.WaitForExit();
220+
proc.WaitForExit(int.MaxValue);
221221

222222
exitCode = proc.ExitCode;
223223
}

0 commit comments

Comments
 (0)