mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
temporarily comment _getPort for tesing
This commit is contained in:
parent
e801340107
commit
ca1242d5ec
@ -1,6 +1,6 @@
|
||||
import path from 'path'
|
||||
import fs from 'fs'
|
||||
import _getPort from 'get-port'
|
||||
// import _getPort from 'get-port'
|
||||
import { defaultsDeep } from 'lodash'
|
||||
|
||||
import { requireModule } from '../../lib/common/module'
|
||||
@ -17,6 +17,8 @@ export function loadFixture(fixture, overrides) {
|
||||
return defaultsDeep({}, overrides, config)
|
||||
}
|
||||
|
||||
let port = 4000
|
||||
|
||||
export function getPort() {
|
||||
return _getPort()
|
||||
return port++
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user