We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a1cceae commit cf461d7Copy full SHA for cf461d7
1 file changed
packages/cluster/src/common.js
@@ -1,7 +1,6 @@
1
const path = require('path')
2
const { reporter } = require('@dhis2/cli-helpers-engine')
3
const defaults = require('./defaults')
4
-const { customContext } = require('./defaults')
5
6
const clusterDir = 'clusters'
7
const dockerComposeCacheName = 'docker-compose'
@@ -166,7 +165,7 @@ module.exports.makeEnvironment = cfg => {
166
165
167
const resolveCustomContextPath = resolved => {
168
let contextPath = resolved.customContext
169
- if (customContext === '') {
+ if (contextPath === '' || contextPath === true) {
170
contextPath = resolved.name
171
}
172
return contextPath ? `/${contextPath}` : ''
0 commit comments