mirror of
https://github.com/overleaf/overleaf.git
synced 2025-01-30 21:54:09 +00:00
Use the ? operator
This commit is contained in:
parent
2a1e22f20f
commit
d06b8ec688
1 changed files with 1 additions and 1 deletions
|
@ -416,7 +416,7 @@ if process.env["SHARELATEX_LDAP_HOST"]
|
|||
|
||||
if typeof(ca) == 'string'
|
||||
ca_paths = [ca]
|
||||
else if typeof(ca) == 'object' && ca.length?
|
||||
else if typeof(ca) == 'object' && ca?.length?
|
||||
ca_paths = ca
|
||||
else
|
||||
console.error "problem parsing SHARELATEX_LDAP_TLS_OPTS_CA_PATH"
|
||||
|
|
Loading…
Reference in a new issue