File tree 1 file changed +7
-7
lines changed
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -316,14 +316,14 @@ func (pieces SourceMapPieces) Finalize(shifts []SourceMapShift) []byte {
316
316
317
317
potentialStartOfRun := current
318
318
319
- // Skip over the original position information
320
- _ , current = DecodeVLQ (pieces .Mappings , current ) // The original source
321
- _ , current = DecodeVLQ (pieces .Mappings , current ) // The original line
322
- _ , current = DecodeVLQ (pieces .Mappings , current ) // The original column
323
-
324
- // Skip over the original name
319
+ // Skip over the original position information if present
325
320
if current < len (pieces .Mappings ) {
326
- if c := pieces .Mappings [current ]; c != ',' && c != ';' {
321
+ _ , current = DecodeVLQ (pieces .Mappings , current ) // The original source
322
+ _ , current = DecodeVLQ (pieces .Mappings , current ) // The original line
323
+ _ , current = DecodeVLQ (pieces .Mappings , current ) // The original column
324
+
325
+ // Skip over the original name if present
326
+ if current < len (pieces .Mappings ) {
327
327
_ , current = DecodeVLQ (pieces .Mappings , current )
328
328
}
329
329
}
You can’t perform that action at this time.
0 commit comments