Skip to content

Commit 3140caf

Browse files
committed
remove dead code
1 parent fd60747 commit 3140caf

File tree

3 files changed

+2
-26
lines changed

3 files changed

+2
-26
lines changed

commands/init.js

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -49,30 +49,6 @@ function create_base_reporter_config_file(args) {
4949
if (args._.length == 1) {
5050
create_file(constants.LT_BASE_REPORTER_CONFIG_FILE_NAME, content)
5151
}
52-
// else if (args._.length > 1) {
53-
// //check if file or directory exists
54-
// if (fs.existsSync(args._[1])) {
55-
// let stats = fs.statSync(args._[1]);
56-
// if (stats.isFile()) {
57-
// make_file(args._[1], content)
58-
// }
59-
// else {
60-
// create_file(path.join(args._[1], constants.LT_CONFIG_NAME), content)
61-
// }
62-
// }
63-
// else {
64-
// filename = path.basename(args._[1])
65-
// var re = new RegExp(".+\\..+");
66-
// if (re.test(filename)) {
67-
// fs.mkdirSync(path.dirname(args._[1]), { recursive: true });
68-
// create_file(args._[1], content)
69-
// }
70-
// else {
71-
// fs.mkdirSync(args._[1], { recursive: true });
72-
// create_file(path.join(args._[1], constants.LT_CONFIG_NAME), content)
73-
// }
74-
// }
75-
// }
7652
};
7753

7854
module.exports = function (args) {

commands/utils/default_config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ module.exports = {
1616
},
1717
],
1818
run_settings: {
19-
cypress_config_file: "cypress.json",
19+
cypress_config_file: "cypress.config.js",
2020
reporter_config_file: "base_reporter_config.json",
2121
build_name: "build-name",
2222
parallels: 1,

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "lambdatest-cypress-cli",
3-
"version": "2.5.4",
3+
"version": "2.5.5",
44
"description": "The lambdatest-cypress-cli is LambdaTest's command-line interface (CLI) aimed to help you run your Cypress tests on LambdaTest platform.",
55
"homepage": "https://github.com/LambdaTest/lambdatest-cypress-cli",
66
"author": "LambdaTest <[email protected]>",

0 commit comments

Comments
 (0)