mirror of
https://github.com/danbulant/docker-compose
synced 2026-06-12 03:01:19 +00:00
fix: fix mapping ipv6-based port mappings
This commit is contained in:
parent
6dec0c6bb6
commit
53fb97196f
3 changed files with 2 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
|||
import childProcess from 'child_process'
|
||||
import yaml from 'yaml'
|
||||
import mapPorts from './port-mapper'
|
||||
import mapPorts from './map-ports'
|
||||
|
||||
export interface IDockerComposeOptions {
|
||||
cwd?: string
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import mapPorts from '../src/port-mapper'
|
||||
import mapPorts from '../src/map-ports'
|
||||
|
||||
test('map ports for empty string', () => {
|
||||
expect(mapPorts('')).toEqual([])
|
||||
Loading…
Reference in a new issue