Skip to content

Commit c55512f

Browse files
authored
Update localinvoke.ts (#14172)
1 parent cd8820c commit c55512f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/amplify-go-function-runtime-provider/src/localinvoke.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const startLambda = (request: InvocationRequest, portNumber: number, lambda: { e
3939

4040
envVars['_LAMBDA_SERVER_PORT'] = portNumber.toString();
4141

42-
const lambdaProcess: ExecaChildProcess = execa.command(lambda.executable, {
42+
const lambdaProcess: ExecaChildProcess = execa(lambda.executable, [], {
4343
env: envVars,
4444
extendEnv: false,
4545
cwd: lambda.cwd,

0 commit comments

Comments
 (0)