Fix replacement string slicing
This commit is contained in:
@@ -496,7 +496,7 @@ class BesService {
|
||||
y1,
|
||||
y2,
|
||||
scale,
|
||||
replacement.substr(lengthDiff).trim()
|
||||
replacement.slice(0, lengthDiff).trim()
|
||||
)
|
||||
}
|
||||
} else if (replacement.substr(0, context.length) === context) {
|
||||
|
Reference in New Issue
Block a user