Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix regex to only be true for source maps
AssemblyScript compiler can generate lines that contain the `@` symbol but have nothing to do with the source mapping (e.g., '000287d: 6e67 2e55 5446 382e 656e 636f 6465 4076 ng.UTF8.encode@v') which causes `extractLineInfo` to fail on those lines. This commit modifies the regex to only be true for lines that start with `@ {` which ensures that `extractLineInfo` is applied to real source map lines.
- Loading branch information