mirror of
https://github.com/pockethost/pockethost.git
synced 2025-05-19 13:26:42 +00:00
fix: linting issue
This commit is contained in:
parent
66cc3c0b0d
commit
5edc32516f
@ -61,16 +61,16 @@ export const createPocketbaseService = async (
|
||||
const cm = createCleanupManager()
|
||||
const logger = LoggerService().create('spawn')
|
||||
const { dbg, warn, error } = logger
|
||||
const port =
|
||||
cfg.port ||
|
||||
(await (async () => {
|
||||
const [defaultPort, freeDefaultPort] = await PortService().alloc()
|
||||
cm.add(freeDefaultPort)
|
||||
return defaultPort
|
||||
})())
|
||||
const port =
|
||||
cfg.port ||
|
||||
(await (async () => {
|
||||
const [defaultPort, freeDefaultPort] = await PortService().alloc()
|
||||
cm.add(freeDefaultPort)
|
||||
return defaultPort
|
||||
})())
|
||||
const _cfg: Required<SpawnConfig> = {
|
||||
version: maxVersion,
|
||||
port,
|
||||
port,
|
||||
extraBinds: [],
|
||||
env: {},
|
||||
stderr: new MemoryStream(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user