Skip to content

Commit

Permalink
fix: error thrown when element text is an empty string (#4702)
Browse files Browse the repository at this point in the history
  • Loading branch information
kobenguyent authored Jan 3, 2025
1 parent e846398 commit 0a82941
Show file tree
Hide file tree
Showing 139 changed files with 9,445 additions and 10,406 deletions.
4 changes: 2 additions & 2 deletions bin/codecept.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const commandFlags = {
}

const errorHandler =
(fn) =>
fn =>
async (...args) => {
try {
await fn(...args)
Expand Down Expand Up @@ -286,7 +286,7 @@ program

.action(require('../lib/command/run-rerun'))

program.on('command:*', (cmd) => {
program.on('command:*', cmd => {
console.log(`\nUnknown command ${cmd}\n`)
program.outputHelp()
})
Expand Down
Loading

0 comments on commit 0a82941

Please sign in to comment.