Skip to content

Commit

Permalink
chore(function): fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
MarlonJD committed Jan 3, 2025
1 parent 70db088 commit cbaa8bc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/backend-function/src/provided_function_factory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@ class ProvidedFunctionGenerator implements ConstructContainerEntryGenerator {
'CustomFunctionProviderError',
{
message: e instanceof Error ? e.message : JSON.stringify(e),
resolution: "Ensure that callback passed to 'defineFunction' executes without error. See https://docs.amplify.aws/react/build-a-backend/functions/custom-functions for more details.",
resolution:
"Ensure that callback passed to 'defineFunction' executes without error. See https://docs.amplify.aws/react/build-a-backend/functions/custom-functions for more details.",
},
e instanceof Error ? e : undefined
);
Expand Down

0 comments on commit cbaa8bc

Please sign in to comment.