File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 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 {
316316
317317 potentialStartOfRun := current
318318
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
325320 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 ) {
327327 _ , current = DecodeVLQ (pieces .Mappings , current )
328328 }
329329 }
You can’t perform that action at this time.
0 commit comments