mirror of
https://github.com/wu736139669/hapi.git
synced 2026-11-28 05:57:13 +00:00
fix(cli): honor HAPI_HOSTNAME in session metadata (#449)
This commit is contained in:
@@ -63,7 +63,7 @@ export function buildSessionMetadata(options: {
|
||||
|
||||
return {
|
||||
path: options.workingDirectory,
|
||||
host: os.hostname(),
|
||||
host: process.env.HAPI_HOSTNAME || os.hostname(),
|
||||
version: packageJson.version,
|
||||
os: os.platform(),
|
||||
machineId: options.machineId,
|
||||
|
||||
Reference in New Issue
Block a user