Skip to content

Commit 968e16a

Browse files
comment resolved
1 parent 4a96b4c commit 968e16a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

commands/init.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ function create_ltconfig_file(args) {
1616
if("cv" in args){
1717
cv=args["cv"]
1818
}
19-
19+
2020
let config =parseInt(cv)>=10?require('./utils/default_config_10.js'):require('./utils/default_config_9.js')
2121
config.run_settings.npm_dependencies.cypress=cv.toString()
2222
let content = JSON.stringify(config, null, 3);
23-
if ("config-file-name" in args && "config-file-name" !=""){
23+
if ("config-file-name" in args["config-file-name"] !=""){
2424
//check if file or directory exists
2525
if (fs.existsSync(args["config-file-name"])) {
2626
let stats = fs.statSync(args["config-file-name"]);

0 commit comments

Comments
 (0)