Skip to content

Commit

Permalink
fix: fix mapping ipv6-based port mappings
Browse files Browse the repository at this point in the history
  • Loading branch information
Steveb-p authored and AlexZeitler committed May 11, 2021
1 parent 6dec0c6 commit 53fb971
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -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
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion test/port-mapper.test.ts → test/map-ports.test.ts
Original file line number Diff line number Diff line change
@@ -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([])
Expand Down

0 comments on commit 53fb971

Please sign in to comment.