refactor: changed execPath to executablePath

This commit is contained in:
Michael James 2021-05-08 16:56:30 -06:00 committed by Alexander Zeitler
parent 432413f087
commit 361131a76b

View file

@ -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
})