mirror of
https://github.com/serverless/serverless.git
synced 2026-02-01 16:07:28 +00:00
refactor(AWS Local Invocation): Remove ignored option
This commit is contained in:
parent
2b1145ad20
commit
6cbc83aff0
@ -606,12 +606,9 @@ class AwsInvokeLocal {
|
||||
const wrapperPath = await this.resolveRuntimeWrapperPath('invoke.py');
|
||||
|
||||
return new Promise((resolve, reject) => {
|
||||
const python = spawn(
|
||||
runtime.split('.')[0],
|
||||
['-u', wrapperPath, handlerPath, handlerName],
|
||||
{ env: process.env },
|
||||
{ shell: true }
|
||||
);
|
||||
const python = spawn(runtime.split('.')[0], ['-u', wrapperPath, handlerPath, handlerName], {
|
||||
env: process.env,
|
||||
});
|
||||
python.stdout.on('data', (buf) => {
|
||||
writeText(buf.toString());
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user