diff --git a/commands/utils/archive.js b/commands/utils/archive.js index 46b10ac..89cd350 100644 --- a/commands/utils/archive.js +++ b/commands/utils/archive.js @@ -243,17 +243,6 @@ function archive_batch(lt_config, batch) { lt_config["run_settings"]["reporter_config_file"] ), }); - } else { - // case 1: reporter_config_file param is missing - // case 2: reporter_config_file = "" - // case 3: reporter_config_file = - // this shouldn't reject, instead just show a warning - - - // This warning is not required, since we are already checking for the existence of file while validate() - // console.log( - // "Warning!! Provided reporter config file not found. Please check the provided value of reporter_config_file in lambdatest-config.json" - // ); } } diff --git a/commands/utils/set_args.js b/commands/utils/set_args.js index ce353ba..17a2ae8 100644 --- a/commands/utils/set_args.js +++ b/commands/utils/set_args.js @@ -224,13 +224,6 @@ function sync_args_from_cmd(args) { // if reporter_config_file parameter, add it in lt config alongwith a warning on console if (!lt_config["run_settings"]["reporter_config_file"]) { - - /* cypress 9 user - case 1: new user (may or may not run init) -> - case 2: old existing user (may or may not run init) -> - */ - - console.log("Warning !! Value of reporter_config_file parameter missing. Proceeding with default reporter config"); lt_config["run_settings"]["reporter_config_file"] = constants.LT_BASE_REPORTER_CONFIG_FILE_NAME; } diff --git a/commands/utils/validate.js b/commands/utils/validate.js index d0e4c75..7e2d995 100644 --- a/commands/utils/validate.js +++ b/commands/utils/validate.js @@ -224,12 +224,7 @@ module.exports = validate_config = function (lt_config, validation_configs) { lt_config["run_settings"]["reporter_config_file"] && lt_config["run_settings"]["reporter_config_file"] != "" ) { - // console.log("reporter_config_file present"); if (!fs.existsSync(lt_config["run_settings"]["reporter_config_file"])) { - - - // case 1: cypress 9 user -> - // case 2: cypress >=10 user -> simply show warning that user may not get command logs section console.log( "Warning!! Reporter Config File does not exist, Commands section on dashboard may not get generated. Use lambdatest-cypress init command to generate." ); diff --git a/package-lock.json b/package-lock.json index b9b05f1..322dffe 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,11 +1,11 @@ { "name": "lambdatest-cypress-cli", - "version": "3.0.0", + "version": "3.0.1", "lockfileVersion": 2, "requires": true, "packages": { "": { - "version": "3.0.0", + "version": "3.0.1", "license": "MIT", "dependencies": { "@lambdatest/node-tunnel": "^3.0.0", diff --git a/package.json b/package.json index 95553f7..7c1150d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "lambdatest-cypress-cli", - "version": "3.0.0", + "version": "3.0.1", "description": "The lambdatest-cypress-cli is LambdaTest's command-line interface (CLI) aimed to help you run your Cypress tests on LambdaTest platform.", "homepage": "https://github.com/LambdaTest/lambdatest-cypress-cli", "author": "LambdaTest ",