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.
after
1 parent 49bae06 commit 6307451Copy full SHA for 6307451
lib/util/safe.js
@@ -50,7 +50,7 @@ function safe(context, input, config) {
50
positions.sort(numerical)
51
52
start = config.before ? config.before.length : 0
53
- end = value.length - (config.after ? 1 : 0)
+ end = value.length - (config.after ? config.after.length : 0)
54
index = -1
55
length = positions.length
56
0 commit comments