mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 02:35:49 +00:00
fix(cloudcmd) choose
This commit is contained in:
parent
2c5ef742cc
commit
2e0f8604e5
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ const config = require(DIR_SERVER + 'config');
|
|||
const env = require(DIR_SERVER + 'env');
|
||||
|
||||
const choose = (a, b) => {
|
||||
if (!a && typeof a === 'undefined')
|
||||
if (!a)
|
||||
return b;
|
||||
|
||||
return a;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue