We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07fc992 commit 29b0bddCopy full SHA for 29b0bdd
bin/helpers/utils.js
@@ -913,7 +913,7 @@ exports.setOtherConfigs = (bsConfig, args) => {
913
}
914
915
exports.readBsConfigJSON = (bsConfigPath) => {
916
- return fs.readFileSync(bsConfigPath, 'utf-8');
+ return fs.existsSync(bsConfigPath) ? fs.readFileSync(bsConfigPath, 'utf-8') : null;
917
918
919
exports.getCypressJSON = (bsConfig) => {
0 commit comments