Skip to content

Commit

Permalink
fix(cli): nitpick let into const
Browse files Browse the repository at this point in the history
  • Loading branch information
andonary committed May 28, 2024
1 parent 0faa3ef commit be8fa31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/command/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ function fail(msg) {
module.exports.fail = fail;

function updateConfig(testsPath, config, extension) {
let configFile = path.join(testsPath, `codecept.conf.${extension}`);
const configFile = path.join(testsPath, `codecept.conf.${extension}`);
if (!fileExists(configFile)) {
const msg = `codecept.conf.${extension} config can\'t be updated automatically`;
console.log();
Expand Down

0 comments on commit be8fa31

Please sign in to comment.