mirror of
https://github.com/danbulant/docker-compose
synced 2026-07-04 02:40:41 +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'
|
import yaml from 'yaml'
|
||||||
export interface IDockerComposeOptions {
|
export interface IDockerComposeOptions {
|
||||||
cwd?: string
|
cwd?: string
|
||||||
execPath?: string
|
executablePath?: string
|
||||||
config?: string | string[]
|
config?: string | string[]
|
||||||
configAsString?: string
|
configAsString?: string
|
||||||
log?: boolean
|
log?: boolean
|
||||||
|
|
@ -187,9 +187,9 @@ const execCompose = (
|
||||||
|
|
||||||
const cwd = options.cwd
|
const cwd = options.cwd
|
||||||
const env = options.env || undefined
|
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,
|
cwd,
|
||||||
env
|
env
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue