From 17c6ae16332ffa0d36bb019f084798a3753e5a17 Mon Sep 17 00:00:00 2001 From: Birk Johansson Date: Fri, 16 Sep 2022 01:59:10 +0200 Subject: [PATCH] test: fix tests --- packages/cluster/src/common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cluster/src/common.js b/packages/cluster/src/common.js index e2af4a87..65484c06 100644 --- a/packages/cluster/src/common.js +++ b/packages/cluster/src/common.js @@ -166,7 +166,7 @@ module.exports.makeEnvironment = cfg => { const resolveCustomContextPath = resolved => { let contextPath = resolved.customContext - if (customContext === '') { + if (contextPath === '' || contextPath === true) { contextPath = resolved.name } return contextPath ? `/${contextPath}` : ''