Skip to content
This repository has been archived by the owner on Dec 28, 2023. It is now read-only.

Commit

Permalink
refactor: remove redundand escape
Browse files Browse the repository at this point in the history
  • Loading branch information
maksimr committed Nov 12, 2015
1 parent e41149a commit 61f57df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/adapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ var formatError = function (error) {
}

// remove mocha stack entries
return stack.replace(/\n.+\/mocha\/mocha.js\?\w*\:.+(?=(\n|$))/g, '')
return stack.replace(/\n.+\/mocha\/mocha.js\?\w*:.+(?=(\n|$))/g, '')
}

return message
Expand Down

0 comments on commit 61f57df

Please sign in to comment.