Skip to content

Commit

Permalink
fix: execa import
Browse files Browse the repository at this point in the history
  • Loading branch information
dnalborczyk committed May 31, 2022
1 parent e86444f commit a2c599a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import path from 'node:path'
import { node } from 'execa'
import { execaNode } from 'execa'

const childProcessHelperPath = path.resolve(__dirname, 'childProcessHelper.js')

Expand Down Expand Up @@ -34,7 +34,7 @@ export default class ChildProcessRunner {
cleanup() {}

async run(event, context) {
const childProcess = node(
const childProcess = execaNode(
childProcessHelperPath,
[this.#functionKey, this.#handlerName, this.#handlerPath],
{
Expand Down

0 comments on commit a2c599a

Please sign in to comment.