Skip to content

Commit a48196a

Browse files
chore: use eslint-config-webpack
1 parent c8adcec commit a48196a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/ReplaceSource.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ class ReplaceSource extends Source {
200200
const replacements = this._replacements;
201201
let pos = 0;
202202
let i = 0;
203-
let replacmentEnd = -1;
203+
let replacementEnd = -1;
204204
let nextReplacement =
205205
i < replacements.length
206206
? Math.floor(replacements[i].start)
@@ -256,9 +256,9 @@ class ReplaceSource extends Source {
256256
const endPos = pos + chunk.length;
257257

258258
// Skip over when it has been replaced
259-
if (replacmentEnd > pos) {
259+
if (replacementEnd > pos) {
260260
// Skip over the whole chunk
261-
if (replacmentEnd >= endPos) {
261+
if (replacementEnd >= endPos) {
262262
const line = generatedLine + generatedLineOffset;
263263
if (chunk.endsWith("\n")) {
264264
generatedLineOffset--;

0 commit comments

Comments
 (0)