Skip to content

Commit 0a82941

Browse files
authored
fix: error thrown when element text is an empty string (#4702)
1 parent e846398 commit 0a82941

File tree

139 files changed

+9445
-10406
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

139 files changed

+9445
-10406
lines changed

bin/codecept.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const commandFlags = {
3232
}
3333

3434
const errorHandler =
35-
(fn) =>
35+
fn =>
3636
async (...args) => {
3737
try {
3838
await fn(...args)
@@ -286,7 +286,7 @@ program
286286

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

289-
program.on('command:*', (cmd) => {
289+
program.on('command:*', cmd => {
290290
console.log(`\nUnknown command ${cmd}\n`)
291291
program.outputHelp()
292292
})

0 commit comments

Comments
 (0)