Skip to content

Commit

Permalink
more sourcemap fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Rich-Harris committed Dec 24, 2015
1 parent 7a5c76a commit 83c83ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/utils/encodeMappings.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export default function encodeMappings ( original, intro, patches, hires, source
sourceCodeLine,
sourceCodeColumn,
sourceCodeName: patch.storeName ? names.indexOf( patch.original ) : -1,
sourceIndex: null
sourceIndex
});
}

Expand Down
2 changes: 1 addition & 1 deletion test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ describe( 'MagicString', function () {
assert.equal( originLoc.column, 0 );
});

it.only( 'should generate a sourcemap using specified locations', function () {
it( 'should generate a sourcemap using specified locations', function () {
var s, map, smc, loc;

s = new MagicString( 'abcdefghijkl' );
Expand Down

0 comments on commit 83c83ed

Please sign in to comment.