evanw / evanw/node-source-map-support

Command line scripts - wrong error line number

Open
#107 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.2k
Forks
223
PR merge metrics
No merged PRs in 30d

Description

:wave:

I just noticed that if I have:

``` js
#!/usr/bin/env node
```

on top of my file, the error line is not the correct one. The error message itself is correct but the error line number is the next one after the actual error.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.