Skip to content

Commit

Permalink
refactor: changed execPath to executablePath
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrono authored and AlexZeitler committed May 8, 2021
1 parent 432413f commit 361131a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
})
Expand Down

0 comments on commit 361131a

Please sign in to comment.