Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .changeset/popular-insects-listen.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@aws-amplify/backend-function': patch
'@aws-amplify/backend': patch
---

remove the workaround for no-misused-promises as it broke lambdas execution
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ await internalAmplifyFunctionResolveSsmParams();
const SSM_PARAMETER_REFRESH_MS = 1000 * 60;

setInterval(
void (async () => {
// eslint-disable-next-line @typescript-eslint/no-misused-promises
async () => {
try {
await internalAmplifyFunctionResolveSsmParams();
} catch (error) {
Expand All @@ -21,6 +22,6 @@ setInterval(
// Do nothing if logging fails
}
}
}),
},
SSM_PARAMETER_REFRESH_MS
);
Loading