Skip to content

Commit 7c223aa

Browse files
committed
chore: update detectPort
1 parent 4c72108 commit 7c223aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Foundation/Console/verifyPort.imba

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Output } from '@formidablejs/console'
2-
import detectPort from 'detect-port/lib/detect-port'
2+
import { detect } from 'detect-port'
33
import inquirer from 'inquirer'
44

55
def noInteraction\boolean
@@ -8,7 +8,7 @@ def noInteraction\boolean
88
args.includes('--no-interaction')
99

1010
def verifyPort\number port\number
11-
const _p = await detectPort(port)
11+
const _p = await detect(port)
1212

1313
if _p != port
1414
if noInteraction!

0 commit comments

Comments
 (0)