File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
packages/backend-function/src/lambda-shims Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ ' @aws-amplify/backend-function ' : patch
3+ ' @aws-amplify/backend ' : patch
4+ ---
5+
6+ remove the workaround for no-misused-promises as it broke lambdas execution
Original file line number Diff line number Diff line change @@ -9,7 +9,8 @@ await internalAmplifyFunctionResolveSsmParams();
99const SSM_PARAMETER_REFRESH_MS = 1000 * 60 ;
1010
1111setInterval (
12- void ( async ( ) => {
12+ // eslint-disable-next-line @typescript-eslint/no-misused-promises
13+ async ( ) => {
1314 try {
1415 await internalAmplifyFunctionResolveSsmParams ( ) ;
1516 } catch ( error ) {
@@ -21,6 +22,6 @@ setInterval(
2122 // Do nothing if logging fails
2223 }
2324 }
24- } ) ,
25+ } ,
2526 SSM_PARAMETER_REFRESH_MS
2627) ;
You can’t perform that action at this time.
0 commit comments