We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c72108 commit 7c223aaCopy full SHA for 7c223aa
src/Foundation/Console/verifyPort.imba
@@ -1,5 +1,5 @@
1
import { Output } from '@formidablejs/console'
2
-import detectPort from 'detect-port/lib/detect-port'
+import { detect } from 'detect-port'
3
import inquirer from 'inquirer'
4
5
def noInteraction\boolean
@@ -8,7 +8,7 @@ def noInteraction\boolean
8
args.includes('--no-interaction')
9
10
def verifyPort\number port\number
11
- const _p = await detectPort(port)
+ const _p = await detect(port)
12
13
if _p != port
14
if noInteraction!
0 commit comments