Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit 5f7d975

Browse files
Fix tests
1 parent 0826493 commit 5f7d975

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common/helper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const schemaForRC = Joi.object({
2626
function readFromRCFile (filename, cliParams) {
2727
logger.info('Reading from topcoder rc file...')
2828
const rcObject = JSON.parse(fs.readFileSync(filename).toString())
29-
if (_.get(cliParams.challengeIds)) {
29+
if (!_.isEmpty(_.get(cliParams, 'challengeIds'))) {
3030
cliParams.challengeIds = cliParams.challengeIds.split(',')
3131
}
3232
// Override values from RC file with CLI params

0 commit comments

Comments
 (0)