fix: fix mapping ipv6-based port mappings

This commit is contained in:
Paweł Niedzielski 2021-05-11 09:26:00 +02:00 committed by Alexander Zeitler
parent 6dec0c6bb6
commit 53fb97196f
3 changed files with 2 additions and 2 deletions

View file

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

View file

@ -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([])