Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to include the full path to file in report #35

Closed
roscorcoran opened this issue Mar 3, 2016 · 1 comment
Closed

Add option to include the full path to file in report #35

roscorcoran opened this issue Mar 3, 2016 · 1 comment

Comments

@roscorcoran
Copy link

It would be nice to see the option to include the full path in the report, it will allow a single click to view the area of code of interest in dev tools like Intelij.

I can suggest the following change at line 34 (or I can do a pull request if you like?):

      if (el.file !== prevfile) {
        if (options.fullPath) {
          headers[i] = process.cwd() + '/' + el.file + ':' + err.line;
        } else {
          headers[i] = el.file;
        }
      }

See the screenshots below, notice the hyperlink in the full path:

Default:
screen shot 2016-03-03 at 17 33 08

Suggested change:
screen shot 2016-03-03 at 17 31 42

@roscorcoran
Copy link
Author

I checked the closed issues and this has been addressed already, so I will close

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant