Skip to content

Commit 6d08175

Browse files
committed
more logs
1 parent 4420f3e commit 6d08175

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

bin/helpers/readCypressConfigUtil.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,10 @@ exports.loadJsFile = (cypress_config_filepath, bstack_node_modules_path) => {
7373
console.log(`Running: ${load_command}`)
7474
cp.execSync(load_command)
7575
console.log(`Loaded Cypress config file: ${config.configJsonFileName}`)
76-
const cypress_config = JSON.parse(fs.readFileSync(config.configJsonFileName).toString())
76+
console.log('Content of config file:', fs.readFileSync(config.configJsonFileName, 'utf8'))
77+
const fileContent = fs.readFileSync(config.configJsonFileName).toString();
78+
console.log('Content of config file2:', fileContent);
79+
const cypress_config = JSON.parse(fileContent);
7780
if (fs.existsSync(config.configJsonFileName)) {
7881
fs.unlinkSync(config.configJsonFileName)
7982
}

0 commit comments

Comments
 (0)