Skip to content

Commit

Permalink
test: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Birkbjo committed Sep 16, 2022
1 parent a1cceae commit cf461d7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/cluster/src/common.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
const path = require('path')
const { reporter } = require('@dhis2/cli-helpers-engine')
const defaults = require('./defaults')
const { customContext } = require('./defaults')

const clusterDir = 'clusters'
const dockerComposeCacheName = 'docker-compose'
Expand Down Expand Up @@ -166,7 +165,7 @@ module.exports.makeEnvironment = cfg => {

const resolveCustomContextPath = resolved => {
let contextPath = resolved.customContext
if (customContext === '') {
if (contextPath === '' || contextPath === true) {
contextPath = resolved.name
}
return contextPath ? `/${contextPath}` : ''
Expand Down

0 comments on commit cf461d7

Please sign in to comment.