mirror of
https://github.com/danbulant/docker-compose
synced 2026-06-16 21:21:18 +00:00
refactor: changed execPath to executablePath
This commit is contained in:
parent
432413f087
commit
361131a76b
1 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in a new issue