From 361131a76b2dc96268c7801dc9c77181284e6522 Mon Sep 17 00:00:00 2001 From: Michael James Date: Sat, 8 May 2021 16:56:30 -0600 Subject: [PATCH] refactor: changed execPath to executablePath --- src/index.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/index.ts b/src/index.ts index 3232517..ce6f811 100644 --- a/src/index.ts +++ b/src/index.ts @@ -2,7 +2,7 @@ import childProcess from 'child_process' import yaml from 'yaml' export interface IDockerComposeOptions { cwd?: string - execPath?: string + executablePath?: string config?: string | string[] configAsString?: string log?: boolean @@ -187,9 +187,9 @@ const execCompose = ( const cwd = options.cwd const env = options.env || undefined - const execPath = options.execPath || 'docker-compose' + const executablePath = options.executablePath || 'docker-compose' - const childProc = childProcess.spawn(execPath, composeArgs, { + const childProc = childProcess.spawn(executablePath, composeArgs, { cwd, env })