catch when no couchDB url passed
This commit is contained in:
parent
af4c1b23de
commit
2a766a3011
|
@ -159,6 +159,8 @@ exports.getDeployedAppID = appId => {
|
||||||
}
|
}
|
||||||
|
|
||||||
exports.getCouchUrl = () => {
|
exports.getCouchUrl = () => {
|
||||||
|
if (!env.COUCH_DB_URL) return
|
||||||
|
|
||||||
// username and password already exist in URL
|
// username and password already exist in URL
|
||||||
if (env.COUCH_DB_URL.includes("@")) {
|
if (env.COUCH_DB_URL.includes("@")) {
|
||||||
return env.COUCH_DB_URL
|
return env.COUCH_DB_URL
|
||||||
|
|
Loading…
Reference in New Issue